1 parent ff29d9a commit cb5769cCopy full SHA for cb5769c
1 file changed
.github/workflows/publish.yml
@@ -78,9 +78,7 @@ jobs:
78
RAW_TAG="${{ github.ref_name }}"
79
CLEAN_TAG="${RAW_TAG#release/}"
80
CLEAN_TAG="${CLEAN_TAG#release-}"
81
- if [[ ! "$CLEAN_TAG" =~ ^v ]]; then
82
- CLEAN_TAG="v${CLEAN_TAG}"
83
- fi
+ CLEAN_TAG="${CLEAN_TAG#v}"
84
85
git tag -f "$CLEAN_TAG"
86
git push origin "$CLEAN_TAG" --force
0 commit comments