Skip to content

Commit 507e36f

Browse files
committed
Add workaround for mistagged 2.27.0 in pgspot check
1 parent 52c57a0 commit 507e36f

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/pgspot.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,12 @@ jobs:
5353
previous_version=$(grep '^previous_version = ' version.config | sed -e 's!^[^=]\+ = !!')
5454
git fetch --tags
5555
./bootstrap -DGENERATE_DOWNGRADE_SCRIPT=ON
56-
git checkout ${previous_version}
56+
# version.config in 2.27.0 tag is incorrect and will produce wrong sql files
57+
if [ "${previous_version}" == "2.27.0" ]; then
58+
git checkout 2.27.0-p0
59+
else
60+
git checkout ${previous_version}
61+
fi
5762
make -C build sqlfile sqlupdatescripts
5863
git checkout ${GITHUB_SHA}
5964
make -C build sqlfile sqlupdatescripts

0 commit comments

Comments
 (0)