Updated the deploy and version bump scripts to use major minor and patch notation.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user