Skip to content

Commit 5e5c477

Browse files
committed
fix: use latest git ref with the updated versions
1 parent 6040d12 commit 5e5c477

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
name: Update changelog
4949
runs-on: ubuntu-latest
5050
outputs:
51-
changelog_commitish: ${{ steps.commit.outputs.commit_long_sha || github.sha }}
51+
changelog_commitish: ${{ steps.get_sha.outputs.commit_sha }}
5252

5353
steps:
5454
- name: Checkout repository
@@ -82,6 +82,10 @@ jobs:
8282
author_email: [email protected]
8383
message: "chore(release): Update changelog, package.json and manifest.json versions [skip ci]"
8484

85+
- name: Get commit SHA
86+
id: get_sha
87+
run: echo "commit_sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
88+
8589
create_github_release:
8690
name: Create github release
8791
needs: [release_metadata, update_changelog]

0 commit comments

Comments
 (0)