Skip to content

Commit

Permalink
Increment version patch number up to 1.4.2
Browse files Browse the repository at this point in the history
An extra change is introduced as well: generate empty upgrade scripts
without the need to create *.sql.in files in upgrade_script
subdirectory.
  • Loading branch information
vitcpp committed Dec 8, 2023
1 parent 562f098 commit 0be5757
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Makefile.common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
#----------------------------------------------------------------------------

EXTENSION := pg_sphere
PGSPHERE_VERSION := 1.4.1
PGSPHERE_VERSION := 1.4.2
2 changes: 1 addition & 1 deletion expected/version.out
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
SELECT pg_sphere_version();
pg_sphere_version
-------------------
1.4.1
1.4.2
(1 row)

2 changes: 1 addition & 1 deletion pg_sphere.control
Original file line number Diff line number Diff line change
@@ -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
1 change: 0 additions & 1 deletion upgrade_scripts/pg_sphere--1.4.0--1.4.1.sql.in

This file was deleted.

0 comments on commit 0be5757

Please sign in to comment.