Skip to content

Commit

Permalink
support rc and beta
Browse files Browse the repository at this point in the history
  • Loading branch information
RekGRpth committed Sep 24, 2024
1 parent 6af1226 commit 39dcc8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ifeq ($(PG_BUILD_FROM_SOURCE),)
else
MAIN = master
REPO = postgres/postgres
PG_VERSION = $(shell $(PG_CONFIG) --version | cut -f 2 -d ' ' | tr '.' '_')
PG_VERSION = $(shell $(PG_CONFIG) --version | cut -f 2 -d ' ' | tr '.' '_' | sed 's/rc/_RC/' | sed 's/beta/_BETA/')
REL = $(shell test "$(PG_MAJOR)" -lt 10 && echo "REL$(PG_VERSION)" || echo "REL_$(PG_VERSION)")
endif
else
Expand Down

0 comments on commit 39dcc8c

Please sign in to comment.