From 153fd07dd95a4a3d64323378823578ddaabf7ec1 Mon Sep 17 00:00:00 2001 From: Vitaly Davydov Date: Tue, 5 Dec 2023 08:47:22 +0300 Subject: [PATCH] Increment version patch number up to 1.4.2 An extra change is introduced as well: generate empty upgrade scripts without the need to create *.sql.in files in upgrade_script subdirectory. --- Makefile | 5 +++-- Makefile.common.mk | 2 +- pg_sphere.control | 2 +- upgrade_scripts/pg_sphere--1.4.0--1.4.1.sql.in | 1 - 4 files changed, 5 insertions(+), 5 deletions(-) delete mode 100644 upgrade_scripts/pg_sphere--1.4.0--1.4.1.sql.in diff --git a/Makefile b/Makefile index 88c082bd..8a9dec7e 100644 --- a/Makefile +++ b/Makefile @@ -34,6 +34,7 @@ DATA_built = $(RELEASE_SQL) \ pg_sphere--1.3.0--1.3.1.sql \ pg_sphere--1.3.1--1.4.0.sql \ pg_sphere--1.4.0--1.4.1.sql \ + pg_sphere--1.4.1--1.4.2.sql DOCS = README.pg_sphere COPYRIGHT.pg_sphere TESTS = version tables points euler circle line ellipse poly path box \ @@ -205,8 +206,8 @@ endif pg_sphere--1.3.1--1.4.0.sql: pgs_circle_sel.sql.in pgs_hash.sql.in cat upgrade_scripts/$@.in $^ > $@ -pg_sphere--1.4.0--1.4.1.sql: - cat upgrade_scripts/$@.in $^ > $@ +pg_sphere--1.4.0--1.4.1.sql pg_sphere--1.4.1--1.4.2.sql: + @echo "-- Nothing to upgrade in the schema" > $@ # end of local stuff diff --git a/Makefile.common.mk b/Makefile.common.mk index 42c2376d..9a73710f 100644 --- a/Makefile.common.mk +++ b/Makefile.common.mk @@ -5,4 +5,4 @@ #---------------------------------------------------------------------------- EXTENSION := pg_sphere -PGSPHERE_VERSION := 1.4.1 +PGSPHERE_VERSION := 1.4.2 diff --git a/pg_sphere.control b/pg_sphere.control index fdf8f985..69ca7729 100644 --- a/pg_sphere.control +++ b/pg_sphere.control @@ -1,5 +1,5 @@ # pg_sphere extension comment = 'spherical objects with useful functions, operators and index support' -default_version = '1.4.1' +default_version = '1.4.2' module_pathname = '$libdir/pg_sphere' relocatable = true diff --git a/upgrade_scripts/pg_sphere--1.4.0--1.4.1.sql.in b/upgrade_scripts/pg_sphere--1.4.0--1.4.1.sql.in deleted file mode 100644 index 8ea3baa0..00000000 --- a/upgrade_scripts/pg_sphere--1.4.0--1.4.1.sql.in +++ /dev/null @@ -1 +0,0 @@ --- Nothing to upgrade in the schema