Updated the deploy and version bump scripts to use major minor and patch notation.

This commit is contained in:
2026-08-25 14:53:16 +00:00
parent df289b20b8
commit b7446c65ad
2 changed files with 37 additions and 15 deletions
+5 -6
View File
@@ -3,15 +3,14 @@ set -euo pipefail
parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" || exit ; pwd -P )
cd "$parent_path" || exit
./lint.sh
#./lint.sh
if [ 1 -eq "$#" ]
then
./version_bump.sh "$1"
make build-production TAG="$1"
else
./version_bump.sh
make build-production
fi
current_version=$(grep -m 1 '^version = ' brewman/pyproject.toml | sed -E 's/version = "([^"]+)"/\1/')
make build-production TAG="$current_version"
cd "$parent_path/ansible" || exit
ansible-playbook --inventory hosts playbook.yml
ansible-playbook --inventory=hosts playbook.yml