diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 2ecf57d..966f6dd 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -33,11 +33,21 @@ jobs: git tag $new_version git push origin $new_version + - name: Get latest commit ID + id: get_commit + run: | + commit_id=$(git rev-parse HEAD) + echo "commit_id=$commit_id" >> $GITHUB_ENV + - name: Create Release uses: actions/create-release@v1 with: tag_name: ${{ env.new_version }} release_name: Release ${{ env.new_version }} + release_description: | + Automatic release by Gitea CI + Release version ${{ env.new_version }}. + Commit ID: ${{ env.commit_id }} draft: false prerelease: false env: