Files
barker/deploy.sh
Amritanshu 44513dd6be Moved to Angular 20
Moved to Tailwind 4
Moved to Python 3.13
Enabled arm64/v8 Builds
2025-07-02 04:32:35 +00:00

18 lines
361 B
Bash
Executable File

#!/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"
make build-production TAG="$1"
else
./version_bump.sh
make build-production
fi
cd "$parent_path/ansible" || exit
ansible-playbook --inventory hosts playbook.yml