fix migration version
All checks were successful
Basic test / Build and sanity check (pull_request) Successful in 48s
All checks were successful
Basic test / Build and sanity check (pull_request) Successful in 48s
This commit is contained in:
parent
375c08de68
commit
c36d2907c1
@ -14,9 +14,10 @@ jobs:
|
||||
- name: Check migration version
|
||||
timeout-minutes: 1
|
||||
run: |
|
||||
MIGRATION_VERSION=$(ls db/migrations/*.sql | wc -l)
|
||||
while
|
||||
version=$(docker compose run --rm migrations version 2>&1 | tail -1 | awk '{print $(NF)}')
|
||||
[[ $version != 21 ]]; do
|
||||
[[ $version != $MIGRATION_VERSION ]]; do
|
||||
echo "Incorrect version: $version"
|
||||
echo "Retrying..."
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user