From 0cb359a9bcc981a0407e46f011711509b19ae22c Mon Sep 17 00:00:00 2001 From: Rafa de la Torre Date: Thu, 30 Nov 2017 12:54:05 +0100 Subject: [PATCH] Add some instructions to make release target --- server/extension/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/server/extension/Makefile b/server/extension/Makefile index f933a73..2aef7c6 100644 --- a/server/extension/Makefile +++ b/server/extension/Makefile @@ -52,9 +52,15 @@ release: $(EXTENSION).control $(SOURCES_DATA) test -n "$(NEW_VERSION)" # $$NEW_VERSION VARIABLE MISSING. Eg. make release NEW_VERSION=0.x.0 git mv *.sql old_versions $(SED) $(REPLACEMENTS) $(EXTENSION).control + git add $(EXTENSION).control cat $(SOURCES_DATA_DIR)/*.sql > $(EXTENSION)--$(NEW_VERSION).sql $(ERB) version=$(NEW_VERSION) upgrade_downgrade_template.erb > $(EXTENSION)--$(EXTVERSION)--$(NEW_VERSION).sql $(ERB) version=$(EXTVERSION) upgrade_downgrade_template.erb > $(EXTENSION)--$(NEW_VERSION)--$(EXTVERSION).sql + git add $(EXTENSION)--$(NEW_VERSION).sql + @echo + @echo "Please review the file $(EXTENSION)--$(EXTVERSION)--$(NEW_VERSION).sql and add any code needed to upgrade $(EXTVERSION) to $(NEW_VERSION)" + @echo "Please review the file $(EXTENSION)--$(NEW_VERSION)--$(EXTVERSION).sql and add any code needed to downgrade $(NEW_VERSION) to $(EXTVERSION)" + @echo # Only meant for development time, do not use once a version is released .PHONY: devclean