Add tool to create upgrades

This commit is contained in:
Sandro Santilli 2014-05-23 18:16:10 +02:00
parent 09cf368d62
commit 2ffa13af58

9
util/create_upgrade.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh
fromver=$1
ver=$2
input=cartodb--${ver}.sql
output=cartodb--${fromver}--${ver}.sql
cat ${input} | grep -v 'duplicated extension$' > ${output}