Merge pull request #1214 from erikwilson/fix-tag-version

Fix missing version for tags
pull/1217/head v1.17.0-rc.1-k3s.1
Erik Wilson 2019-12-17 23:29:43 -07:00 committed by GitHub
commit 0f92707432
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -35,5 +35,5 @@ if [[ -n "$GIT_TAG" ]]; then
VERSION=$GIT_TAG VERSION=$GIT_TAG
else else
VERSION="$(sed -e 's/[-+].*//' <<< "$VERSION_K8S")+$COMMIT$DIRTY" VERSION="$(sed -e 's/[-+].*//' <<< "$VERSION_K8S")+$COMMIT$DIRTY"
VERSION_TAG="$(sed -e 's/+/-/g' <<< "$VERSION")"
fi fi
VERSION_TAG="$(sed -e 's/+/-/g' <<< "$VERSION")"