RED-5277 update build-script EXPERIMENTAL
This commit is contained in:
parent
788af1df62
commit
9292c1f6c6
@ -11,9 +11,11 @@ then
|
||||
echo "new release on master with version $newVersion"
|
||||
elif [[ "$bamboo_planRepository_branchName" == release* ]]
|
||||
then
|
||||
branchVersion=$(echo $bamboo_planRepository_branchName | sed -s 's|release\/\([0-9]\+\.[0-9]\+\)\.x|\1|')
|
||||
latestVersion=$( semver $(git tag -l "${branchVersion}.*" ) | tail -n1 )
|
||||
newVersion="$(semver $latestVersion -p -i patch)"
|
||||
# branchVersion=$(echo $bamboo_planRepository_branchName | sed -s 's|release\/\([0-9]\+\.[0-9]\+\)\.x|\1|')
|
||||
# latestVersion=$( semver $(git tag -l "${branchVersion}.*" ) | tail -n1 )
|
||||
# newVersion="$(semver $latestVersion -p -i patch)"
|
||||
# FIXME: obviously not the best solution
|
||||
newVersion="1.16.1"
|
||||
echo "new release on $bamboo_planRepository_branchName with version $newVersion"
|
||||
elif [[ "${bamboo_version_tag}" != "dev" ]]
|
||||
then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user