Skip to content

Commit 83785c7

Browse files
committed
ci: add target_commitish to correctly reference commit in prerelease tags
1 parent e586ce5 commit 83785c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/prerelease.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ jobs:
9999
uses: softprops/action-gh-release@v1
100100
with:
101101
tag_name: v${{ steps.set-version.outputs.version }}
102+
target_commitish: ${{ github.sha }}
102103
prerelease: ${{ github.event_name != 'release' }}
103104
files: ${{ steps.set-version.outputs.name }}.vsix
104105
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)