echo bamboo vars

This commit is contained in:
Francisco Schulz 2022-11-10 16:04:38 +01:00
parent fb3d4b5fc9
commit 28ee14e92f

View File

@ -6,6 +6,10 @@ source build_venv/bin/activate
python3 -m pip install --upgrade pip
pip install poetry
echo "bamboo plan repo branch name: $bamboo_planRepository_branchName"
echo "bamboo version tag: $bamboo_version_tag"
echo "bamboo plan repo 1 branch: $bamboo_planRepository_1_branch"
echo "bamboo build number: $bamboo_buildNumber"
# update version in poetry to latest version in git if it is lower
check_poetry_version () {
@ -60,7 +64,7 @@ then
fi
newVersion="$(poetry version -s)"
echo "new release on $bamboo_planRepository_branchName with version: $newVersion"
elif [[ "${bamboo_version_tag}" != "dev" ]]
elif [[ "$bamboo_version_tag" != "dev" ]]
then
newVersion="${bamboo_version_tag}"
echo "new special version build with: $newVersion"