File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -49,13 +49,13 @@ jobs:
4949 - name : Get package version
5050 id : package-version
5151 run : |
52- # Use git tag if available (for tag-triggered builds), otherwise use base version with -dev suffix
52+ # Use git tag if available (for tag-triggered builds), otherwise use base version with -ea.COMMIT_SHA suffix
5353 if [ -n "${{ github.ref_type }}" ] && [ "${{ github.ref_type }}" = "tag" ]; then
5454 # Remove 'v' prefix if present (e.g., v1.0.0 -> 1.0.0)
5555 VERSION="${{ github.ref_name }}"
5656 VERSION="${VERSION#v}"
5757 else
58- # For branch pushes (like main), use base version with -dev suffix and commit SHA
58+ # For branch pushes (like main), use base version with -ea.COMMIT_SHA suffix
5959 BASE_VERSION=$(node -p "require('./package.json').version" | sed -E 's/-ea[.-][0-9]+$//')
6060 if [ "${{ github.ref }}" = "refs/heads/main" ]; then
6161 SHORT_SHA=$(git rev-parse --short "${{ github.sha }}")
You can’t perform that action at this time.
0 commit comments