File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -137,6 +137,11 @@ jobs:
137137 - name : Push Commit and Tags
138138 run : git push origin --follow-tags
139139
140+ - name : Get latest SHA
141+ id : get-latest-sha
142+ run : |
143+ echo "latest-sha=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
144+
140145 # Use https://github.com/changesets/changesets eventually
141146 - name : Create release
142147 env :
@@ -148,7 +153,7 @@ jobs:
148153 gh release create v$VERSION \
149154 --fail-on-no-commits \
150155 --verify-tag \
151- --target=${{ github.ref_name }} \
156+ --target=${{ steps.get-latest-sha.outputs.latest-sha }} \
152157 --prerelease=$IS_PRE_RELEASE \
153158 --latest=$IS_LATEST \
154159 --title=v$VERSION
Original file line number Diff line number Diff line change 11{
22 "name" : " node-libcurl" ,
3- "version" : " 5.0.1 " ,
3+ "version" : " 5.0.0 " ,
44 "description" : " The fastest http(s) client (and much more) for Node.js - Node.js bindings for libcurl" ,
55 "keywords" : [
66 " node-curl" ,
You can’t perform that action at this time.
0 commit comments