Files
Aurora.3/tools/ci/install_flyway.sh
T
3742231bc2 Major UT Overhaul (#16544)
* Removes old UT definition files (drone/travis)
* Adds concurrency definitions to the workflows
* Changes our workflows to be more in line with what /tg does
* Adds a workflow to build/commit TGUI
* Adds a workflow to build/commit changelogs

Add python version to dependencies.sh
Fix dme errors
Removes a bunch of not included files
Cache Opendream and add directory to check_grep.py

Co-authored-by: Werner <Arrow768@users.noreply.github.com>
2023-06-27 16:44:16 +02:00

15 lines
431 B
Bash
Executable File

#!/bin/sh
set -e
mkdir -p $HOME/flyway
if [ -f "$HOME/flyway/flyway-${FLYWAY_BUILD}/flyway" ];
then
echo "Using cached Flyway directory."
else
echo "Setting up Flyway ${FLYWAY_BUILD}."
cd "$HOME/flyway"
curl "https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/${FLYWAY_BUILD}/flyway-commandline-${FLYWAY_BUILD}.tar.gz" -o flyway.tar.gz
tar -xf flyway.tar.gz
cd "flyway-${FLYWAY_BUILD}"
chmod +x flyway
fi