We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45edcae commit d9ab2d8Copy full SHA for d9ab2d8
build/release.sh
@@ -0,0 +1,16 @@
1
+#!/bin/bash
2
+if [ -z "$1" -o -z "$2" ]; then
3
+ echo "Needs to be called with two arguments, current and next version: ./build/release.sh 1.9.0 2.0.0pre"
4
+ exit 1
5
+fi
6
+echo $1 > version.txt
7
+git add version.txt
8
+git commit -m "Tagging $1 release"
9
+git tag $1
10
+echo "Running ant"
11
+ant
12
+
13
+echo "Bumping version to $2"
14
+echo $2 > version.txt
15
16
+git commit -m "Bumping version to $2"
0 commit comments