Skip to content

Commit 199dd0c

Browse files
committed
ci: fixes [skip ci]
1 parent 1306e11 commit 199dd0c

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff 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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",

0 commit comments

Comments
 (0)