Add upgrade path from release to dev version

This commit is contained in:
Rafa de la Torre 2016-08-10 15:38:28 +02:00
parent 34c9a7d4cf
commit cdc072b098
2 changed files with 6 additions and 4 deletions

1
src/pg/.gitignore vendored
View File

@ -4,3 +4,4 @@ results/
crankshaft--dev.sql
crankshaft--dev--current.sql
crankshaft--current--dev.sql
crankshaft--*--dev.sql

View File

@ -10,14 +10,15 @@ include ../../Makefile.global
# * test runs the tests for the currently generated Development
# extension.
DATA = $(EXTENSION)--dev.sql \
$(EXTENSION)--current--dev.sql \
$(EXTENSION)--dev--current.sql
DATA = \
$(EXTENSION)--dev.sql \
$(EXTENSION)--current--dev.sql \
$(EXTENSION)--dev--current.sql \
$(EXTENSION)--$(RELEASE_VERSION)--dev.sql
SOURCES_DATA_DIR = sql
SOURCES_DATA = $(wildcard $(SOURCES_DATA_DIR)/*.sql)
REPLACEMENTS = -e 's/@@VERSION@@/$(EXTVERSION)/g'
$(DATA): $(SOURCES_DATA)