Merge branch 'main' into issue/6694

issue/6694
Gokhan Gulbiz 2023-03-02 08:45:35 +03:00 committed by GitHub
commit fe9304054a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ do
downgrade_migration_file="src/backend/distributed/sql/downgrades/citus--$to_version--$from_version.sql" downgrade_migration_file="src/backend/distributed/sql/downgrades/citus--$to_version--$from_version.sql"
# check for the existence of migration scripts # check for the existence of migration scripts
if [[ $(grep --line-regexp --count downgrade_migration_file <<< "$downgrade_files") == 0 ]] if [[ $(grep --line-regexp --count "$downgrade_migration_file" <<< "$downgrade_files") == 0 ]]
then then
echo "$file is updated, but $downgrade_migration_file is not updated in branch" echo "$file is updated, but $downgrade_migration_file is not updated in branch"
ret_value=1 ret_value=1