Frank refactoring part 1

This commit is contained in:
2026-08-30 04:41:27 +00:00
parent 85a063c1a7
commit ae69c2fafe
37 changed files with 301 additions and 210 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/env bash
set -euo pipefail
parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" || exit ; pwd -P )
cd "$parent_path" || exit
#./lint.sh
if [ 1 -eq "$#" ]
then
./version_bump.sh "$1"
fi
current_version=$(grep -m 1 '^version = ' pyproject.toml | sed -E 's/version = "([^"]+)"/\1/')
make build-production TAG="$current_version"
cd "$parent_path/ansible" || exit
ansible-playbook --inventory=hosts playbook.yml --extra-vars "frank_version=$current_version"