Skip to content

Commit 4a1a489

Browse files
committed
To build against release candidates, the version number parser must
know about the RC symbol.
1 parent b9de72e commit 4a1a489

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packaging/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#-------------------------------------------------------------------------
77
include $(PGXS)
88

9-
SS_VERSION := $(subst ., ,$(subst devel,.devel,$(subst beta,.beta,$(VERSION))))
9+
SS_VERSION := $(subst ., ,$(subst devel,.devel,$(subst beta,.beta,$(subst RC,.RC,$(VERSION)))))
1010
PGSQL_MAJOR_VER = $(word 1,$(SS_VERSION))
1111
PGSQL_MINOR_VER = $(word 2,$(SS_VERSION))
1212
DISTRIB := distrib

src/C/pljava/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ $(OBJS): %.o : $(SRCDIR)/%.c
2626
#
2727
include $(PGXS)
2828

29-
SS_VERSION := $(subst ., ,$(subst devel,.99,$(subst beta,.99,$(VERSION))))
29+
SS_VERSION := $(subst ., ,$(subst devel,.99,$(subst beta,.99,$(subst RC,.99,$(VERSION)))))
3030
PGSQL_MAJOR_VER = $(word 1,$(SS_VERSION))
3131
PGSQL_MINOR_VER = $(word 2,$(SS_VERSION))
3232
PGSQL_PATCH_VER = $(word 3,$(SS_VERSION))

0 commit comments

Comments
 (0)