CI/Circle CI: Prepare circle-ci

This commit is contained in:
funjoker committed 2020-04-01 23:30:56 +02:00
1 parent e71cf44cab
commit 40fd524bc1
3 files changed
+101 -3

No files matched your search

+2 -1
View File
@@ -2,13 +2,14 @@
name=$1
branch=$2
database=$3
host=$4
echo "Database Updater check script:"
echo " Checking database '${name}' for missing filenames in tables..."
echo
# Select all entries which are in the updates table
entries=$(mysql -uroot ${database} -e "SELECT name FROM updates" | grep ".sql")
entries=$(mysql -uroot ${database} -h ${host} -e "SELECT name FROM updates" | grep ".sql")
cd sql/updates/${name}/${branch}