You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aurora.apache.org by wf...@apache.org on 2014/10/29 00:27:36 UTC

git commit: Fix minor discrepancies in RC script.

Repository: incubator-aurora
Updated Branches:
  refs/heads/master 55b946c36 -> 978998ac2


Fix minor discrepancies in RC script.

Reviewed at https://reviews.apache.org/r/27316/


Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/978998ac
Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/978998ac
Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/978998ac

Branch: refs/heads/master
Commit: 978998ac2bb82d93ce7c47e88b5156fab835d156
Parents: 55b946c
Author: Bill Farner <wf...@apache.org>
Authored: Tue Oct 28 16:26:58 2014 -0700
Committer: Bill Farner <wf...@apache.org>
Committed: Tue Oct 28 16:26:58 2014 -0700

----------------------------------------------------------------------
 build-support/release/release-candidate | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/978998ac/build-support/release/release-candidate
----------------------------------------------------------------------
diff --git a/build-support/release/release-candidate b/build-support/release/release-candidate
index 0222336..fd217f8 100755
--- a/build-support/release/release-candidate
+++ b/build-support/release/release-candidate
@@ -225,11 +225,18 @@ echo "to send to the dev@aurora.incubator.apache.org mailing list"
 echo
 
 # Create the email template for the release candidate to be sent to the mailing lists.
+if [[ $(uname) == Darwin ]]; then
+  vote_end=$(date -v+3d)
+else
+  vote_end=$(date -d+3days)
+fi
+
 MESSAGE=$(cat <<__EOF__
 To: dev@aurora.incubator.apache.org
 Subject: [VOTE] Release Apache Aurora ${current_version} (incubating) RC${rc_tag_version}
 
 All,
+
 I propose that we accept the following release candidate as the official
 Apache Aurora ${current_version} release.
 
@@ -242,7 +249,6 @@ ${aurora_git_web_url}&f=CHANGELOG&hb=${current_version_tag}
 The branch used to create the release candidate is:
 ${aurora_git_web_url}&hb=${current_version_tag}
 
-
 The release candidate is available at:
 ${aurora_svn_dist_url}/${current_version_tag}/${dist_name}.tar.gz
 
@@ -257,11 +263,11 @@ ${aurora_svn_dist_url}/KEYS
 
 Please download, verify, and test.
 
-The vote will close on `date -v+3d`
+The vote will close on ${vote_end}
 
 [ ] +1 Release this as Apache Aurora ${current_version}
 [ ] +0
-[ ] -1 Do not release this as Apache Aurora ${current_version} becuase...
+[ ] -1 Do not release this as Apache Aurora ${current_version} because...
 
 __EOF__
 )