Skip to content

Commit ab25bb1

Browse files
committed
fix git reverse lookup command in release.yml
1 parent acea6cc commit ab25bb1

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
@@ -82,7 +82,7 @@ jobs:
8282
echo "PATCH_VERSION=$patch_version" >> $GITHUB_OUTPUT
8383
short_version="$major_version.$minor_version"
8484
echo "SHORT_VERSION=$short_version" >> $GITHUB_OUTPUT
85-
commit_sha=$(git rev-parse $latest_tag)
85+
commit_sha=$(git rev-list -n 1 $latest_tag)
8686
echo "COMMIT_SHA=$commit_sha" >> $GITHUB_OUTPUT
8787
- name: Show version
8888
run: |

0 commit comments

Comments
 (0)