Skip to content

Commit e4dca78

Browse files
authored
Release commit from event rather than latest on main (#277)
The release should tag the sha at the time of the workflow dispatch time instead of when the release gets executed
1 parent 71507dc commit e4dca78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,4 +235,4 @@ jobs:
235235
env:
236236
GH_TOKEN: ${{ github.token }}
237237
run: |
238-
gh release create ${{ github.event.inputs.tag}} wheels-*/* --generate-notes --prerelease
238+
gh release create ${{ github.event.inputs.tag}} wheels-*/* --generate-notes --prerelease --target ${{github.sha}}

0 commit comments

Comments
 (0)