We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b54ff5 commit 8fcb26cCopy full SHA for 8fcb26c
.github/workflows/on-pr.yaml
@@ -77,7 +77,8 @@ jobs:
77
- name: Extract package version
78
id: package_version
79
run: |
80
- PACKAGE_VERSION=0.0.0-$(git rev-parse --short HEAD)
+ GIT_REV=$(git rev-parse --short HEAD | sed 's/^0*//')
81
+ PACKAGE_VERSION=0.0.0-$GIT_REV
82
echo "PACKAGE_VERSION=$PACKAGE_VERSION" >> $GITHUB_ENV
83
echo "PACKAGE_VERSION=$PACKAGE_VERSION" >> $GITHUB_OUTPUT
84
echo $PACKAGE_VERSION
0 commit comments