summaryrefslogtreecommitdiffstats
path: root/releases/version.sh
blob: ad1ee1415af5fbc779811bf1caa2684d842b29f8 (plain)
1
2
3
4
5
6
7
8
9
# Change version.
# Usage:   ./releases/version.sh old new
# Example: ./releases/version.sh v3.x v3.x

sed -i 's|API $1|API $2|g' public/api/wekan*
sed -i 's|"version": "$1|"version": "$2|g' .meteor-1.6-snap/package-lock.json .meteor-1.6-snap/package.json package-lock.json package.json
sed -i 's|appVersion: "$1|appVersion: "$2|g' Stackerfile.yml

echo "Also change CHANGELOG.md and sandstorm-pkgdef.capnp"