[postgis-tickets] r16258 - Do not try to test upgrade from-to the same version

Sandro Santilli strk at kbt.io
Thu Jan 11 08:43:54 PST 2018


Author: strk
Date: 2018-01-11 08:43:53 -0800 (Thu, 11 Jan 2018)
New Revision: 16258

Modified:
   trunk/utils/check_all_upgrades.sh
Log:
Do not try to test upgrade from-to the same version

Modified: trunk/utils/check_all_upgrades.sh
===================================================================
--- trunk/utils/check_all_upgrades.sh	2018-01-11 16:35:51 UTC (rev 16257)
+++ trunk/utils/check_all_upgrades.sh	2018-01-11 16:43:53 UTC (rev 16258)
@@ -14,6 +14,10 @@
 files=`'ls' postgis--* | grep -v -- '--.*--' | sed 's/^postgis--\(.*\)\.sql/\1/'`
 for fname in unpackaged $files; do
   from_version="$fname"
+  if test "${from_version}" = "${to_version}"; then
+    # TODO: upgrade to ${from_version}next instead ?
+    continue
+  fi
   UPGRADE_PATH="${from_version}--${to_version}"
   if test -e postgis--${UPGRADE_PATH}.sql; then
     echo "Testing upgrade $UPGRADE_PATH"



More information about the postgis-tickets mailing list