From 646ef8b2bb269bc64ba254bf3cf7c3c869d413da Mon Sep 17 00:00:00 2001 From: Evangelos Foutras Date: Sun, 5 Feb 2023 21:04:23 +0200 Subject: [PATCH] postgres: upgrade_pg: bump major version to 15 --- roles/postgres/files/upgrade_pg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/postgres/files/upgrade_pg.sh b/roles/postgres/files/upgrade_pg.sh index 5ed4de9c..57790d33 100755 --- a/roles/postgres/files/upgrade_pg.sh +++ b/roles/postgres/files/upgrade_pg.sh @@ -5,7 +5,7 @@ set -e TO_VERSION=$(pacman -Q postgresql | grep -Po '(?<=postgresql )[0-9]+\.[0-9]') to_major=${TO_VERSION%%.*} -if (( $to_major != 14 )); then +if (( $to_major != 15 )); then # NOTE: When this happens you should check the changelog and add any # necessary changes here. Then bump the version check. echo "ERROR: major upgrade detected, aborting..."