You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aurora.apache.org by ma...@apache.org on 2015/01/27 01:12:20 UTC
incubator-aurora git commit: Updating release script to work with
linked .auroraversion
Repository: incubator-aurora
Updated Branches:
refs/heads/master 806eb545e -> 58cc98f90
Updating release script to work with linked .auroraversion
Reviewed at https://reviews.apache.org/r/30293/
Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/58cc98f9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/58cc98f9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/58cc98f9
Branch: refs/heads/master
Commit: 58cc98f90ad67783d3c605f1f9425fc4061477b8
Parents: 806eb54
Author: Maxim Khutornenko <ma...@apache.org>
Authored: Mon Jan 26 16:11:38 2015 -0800
Committer: -l <ma...@apache.org>
Committed: Mon Jan 26 16:11:38 2015 -0800
----------------------------------------------------------------------
build-support/release/release-candidate | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/58cc98f9/build-support/release/release-candidate
----------------------------------------------------------------------
diff --git a/build-support/release/release-candidate b/build-support/release/release-candidate
index fd217f8..f63887f 100755
--- a/build-support/release/release-candidate
+++ b/build-support/release/release-candidate
@@ -29,6 +29,7 @@ set -o nounset
rc_tag_version=0
aurora_git_web_url='https://git-wip-us.apache.org/repos/asf?p=incubator-aurora.git'
aurora_svn_dist_url='https://dist.apache.org/repos/dist/dev/incubator/aurora'
+aurora_version_file='./src/main/resources/apache/aurora/client/cli/.auroraversion'
function print_help_and_exit {
cat <<EOF
@@ -174,7 +175,7 @@ git branch $current_version_tag $(git rev-parse HEAD)
echo "Committing updated .auroraversion on master"
echo $new_snapshot_version > .auroraversion
-git add .auroraversion
+git add ${aurora_version_file}
git commit -m "Incrementing snapshot version to ${new_snapshot_version}."
# Build the source distribution from the new branch
@@ -182,7 +183,7 @@ echo "Checking out ${current_version_tag} branch and updating .auroraversion"
git checkout $current_version_tag
# Increment the version and create a branch
echo $current_version_tag > .auroraversion
-git add .auroraversion
+git add ${aurora_version_file}
git commit -m "Updating .auroraversion to ${current_version_tag}."
echo "Building the source distribution"