Skip to content

Commit

Permalink
Upgraded branch name in release script
Browse files Browse the repository at this point in the history
  • Loading branch information
ppalaga committed Apr 8, 2014
1 parent 09d930a commit 2cc094a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/build/sh/release-community.sh → src/build/sh/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ newSnapshotVersion=${oldSnapshotVersion/build-${qsNo}/build-$((qsNo + 1))}

die() { echo "$@" 1>&2 ; exit 1; }

# ensure we are on 6.1.x-develop
# ensure we are on 6.2.x-develop
currentBranch=$(git rev-parse --abbrev-ref HEAD)
if [ "${currentBranch}" != "6.1.x-develop" ]; then
die "You must be on 6.1.x-develop branch to run $0"
if [ "${currentBranch}" != "6.2.x-develop" ]; then
die "You must be on 6.2.x-develop branch to run $0"
fi
if ! git diff-index --cached --quiet HEAD --; then
die "There must not be any pending changes to run $0"
Expand Down

0 comments on commit 2cc094a

Please sign in to comment.