From 8f672119429a103b4ef278c3db73e6a4030024e0 Mon Sep 17 00:00:00 2001 From: hoogi91 Date: Mon, 12 Aug 2024 23:27:17 +0200 Subject: [PATCH] Fix grabbing commit hash --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0c15574..b06c706 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -46,7 +46,7 @@ jobs: uses: stefanzweifel/git-auto-commit-action@v5 with: commit_message: https://github.com/hoogi91/spreadsheets/releases/tag/${{ steps.bump-version.outputs.version }} - - run: gh release create ${{ steps.bump-version.outputs.version }} --generate-notes --draft --target=${{ steps.autocommit.output.commit_hash || github.sha }} --latest=${{ inputs.latest-release }} + - run: gh release create ${{ steps.bump-version.outputs.version }} --generate-notes --draft --target=${{ steps.autocommit.outputs.commit_hash || github.sha }} --latest=${{ inputs.latest-release }} env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}