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 2089c87 commit 353cb00Copy full SHA for 353cb00
.github/actions/set-version/action.yml
@@ -13,5 +13,7 @@ runs:
13
else
14
BRANCH_NAME="$GITHUB_REF_NAME"
15
fi
16
- echo "VERSION=$BRANCH_NAME" >> $GITHUB_ENV
17
- echo "Using version: $BRANCH_NAME"
+ # Strip leading 'v' if present
+ VERSION="${BRANCH_NAME#v}"
18
+ echo "VERSION=$VERSION" >> $GITHUB_ENV
19
+ echo "Using version: $VERSION (from branch: $BRANCH_NAME)"
0 commit comments