Only bump versions if we're making production releases

This commit is contained in:
Peter Eckersley
2015-12-12 00:38:45 -08:00
parent c084fd0b6e
commit 9a0d819626
+5 -3
View File
@@ -162,6 +162,8 @@ echo "KGS is at $root/kgs"
echo "In order to upload packages run the following command:"
echo twine upload "$root/dist.$version/*/*"
SetVersion "$nextversion"
git diff
git commit -m "Bump version to $nextversion"
if [ "$RELEASE_BRANCH" = master ] ; then
SetVersion "$nextversion"
git diff
git commit -m "Bump version to $nextversion"
fi