You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by sn...@apache.org on 2014/12/19 23:40:21 UTC

[2/3] incubator-usergrid git commit: add commit ID to release emails

add commit ID to release emails


Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/0c3dbc01
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/0c3dbc01
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/0c3dbc01

Branch: refs/heads/master
Commit: 0c3dbc0186429f7b46f650797a12f8aa09ba1b47
Parents: be9781a
Author: Dave Johnson <sn...@apache.org>
Authored: Fri Dec 19 17:37:05 2014 -0500
Committer: Dave Johnson <sn...@apache.org>
Committed: Fri Dec 19 17:37:05 2014 -0500

----------------------------------------------------------------------
 release/release-candidate.sh | 4 ++++
 release/release.sh           | 4 ++++
 2 files changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/0c3dbc01/release/release-candidate.sh
----------------------------------------------------------------------
diff --git a/release/release-candidate.sh b/release/release-candidate.sh
index 028f3b7..9b42bdf 100755
--- a/release/release-candidate.sh
+++ b/release/release-candidate.sh
@@ -220,6 +220,8 @@ fi
 
 cd ${base_dir}
 
+current_commit_id=`git rev-parse HEAD`
+
 echo "Done creating the release candidate. The following draft email has been created"
 echo "to send to the dev@usergrid.incubator.apache.org mailing list"
 echo
@@ -249,6 +251,8 @@ ${usergrid_git_web_url}&f=CHANGELOG&hb=${current_version_tag}
 The branch used to create the release candidate is:
 ${usergrid_git_web_url}&hb=${current_version_tag}
 
+The current Git commit ID is ${current_commit_id}
+
 The release candidate is available at:
 ${usergrid_svn_dist_url}/${current_version_tag}/${dist_name}.tar.gz
 

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/0c3dbc01/release/release.sh
----------------------------------------------------------------------
diff --git a/release/release.sh b/release/release.sh
index ef8e0c5..814cb78 100755
--- a/release/release.sh
+++ b/release/release.sh
@@ -180,6 +180,8 @@ if [[ $publish == 1 ]]; then
 #  done
 fi
 
+current_commit_id=`git rev-parse HEAD`
+
 cd ${base_dir}
 
 echo "Done creating the release. The following draft email has been created"
@@ -212,6 +214,8 @@ ${usergrid_git_web_url};a=blob_plain;f=CHANGELOG;hb=${current_version}
 The tag used to create the release with is ${current_version}:
 ${usergrid_git_web_url};a=commit;h=${current_version}
 
+The current Git commit ID is ${current_commit_id}
+
 The release is available at:
 ${usergrid_svn_dist_url}/${current_version}/${dist_name}.tar.gz