You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.
oldVersionInfo=(${oldVersionString}) # invoke the split+glob operator
IFS=
commits=${oldVersionInfo[1]}
object=${oldVersionInfo[2]}
# separate version numbers
IFS=. # delimit on _
set -f # disable the glob part
oldVersionNumbers=(${oldVersionInfo[0]}) # invoke the split+glob operator
IFS=
major=$((${oldVersionNumbers[0]}+$majorOffset))
minor=$((${oldVersionNumbers[1]}+$minorOffset))
patch=$((${oldVersionNumbers[2]}+$patchOffset))
if [ "$branchName" == "master" ]; then
if [ "$masterPostfix" == "" ]; then
postfix=""
else
postfix="-$masterPostfix"
fi
else
postfix="-0.develop+$branchName.$commits.$object"
fi
version="$major.$minor.$patch$postfix"
# Tags which point to defined versions shall use the version name prefixed with a `v` as this is [common practice](https://github.com/semver/semver/issues/235#issuecomment-346477428) on GitHub.