File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -49,15 +49,15 @@ jobs:
4949 - name : Determine latest version and build number
5050 id : version
5151 run : |
52- LATEST_TAG=$(git tag --sort=-v:refname | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+: build\.[0-9]+$' | head -n 1 || echo "")
52+ LATEST_TAG=$(git tag --sort=-v:refname | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+- build\.[0-9]+$' | head -n 1 || echo "")
5353
5454 if [[ -z "$LATEST_TAG" ]]; then
55- NEW_TAG="v1.0.0: build.1"
55+ NEW_TAG="v1.0.0- build.1"
5656 else
5757 BASE_VERSION=$(echo "$LATEST_TAG" | cut -d':' -f1)
5858 BUILD_NUMBER=$(echo "$LATEST_TAG" | cut -d'.' -f2)
5959 NEW_BUILD_NUMBER=$((BUILD_NUMBER + 1))
60- NEW_TAG="${BASE_VERSION}: build.${NEW_BUILD_NUMBER}"
60+ NEW_TAG="${BASE_VERSION}- build.${NEW_BUILD_NUMBER}"
6161 fi
6262
6363 echo "new_tag=$NEW_TAG" >> $GITHUB_ENV
You can’t perform that action at this time.
0 commit comments