We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7bbbeb commit 8db1656Copy full SHA for 8db1656
.github/workflows/release-tiup.yaml
@@ -65,7 +65,7 @@ jobs:
65
run: |
66
BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)
67
if [ "$BRANCH_NAME" != "master" ]; then
68
- STAGING_VER=$(git describe --tags | sed 's/-[0-9]*-[^-]*$//')-$BRANCH_NAME
+ STAGING_VER=$(git describe --tags | sed 's/-[0-9]*-[^-]*$//')-$(echo $BRANCH_NAME | sed 's|/|.|g')
69
else
70
STAGING_VER=$(git describe --tags | sed 's/-[^-]*$//' | sed -r 's/(-[^-]*$)/-nightly\1/')
71
fi
0 commit comments