You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by vi...@apache.org on 2013/05/24 23:00:24 UTC
[1/2] git commit: Fixed release script to use git instead of svn.
Updated Branches:
refs/heads/master 68ccbf1d9 -> 4b9fb67c4
Fixed release script to use git instead of svn.
Review: https://reviews.apache.org/r/11381
Project: http://git-wip-us.apache.org/repos/asf/incubator-mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mesos/commit/124d63a0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mesos/tree/124d63a0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mesos/diff/124d63a0
Branch: refs/heads/master
Commit: 124d63a067c5ee62ad26420b0ea85169e3dd22a1
Parents: 68ccbf1
Author: Vinod Kone <vi...@twitter.com>
Authored: Fri May 24 10:49:03 2013 -0700
Committer: Vinod Kone <vi...@twitter.com>
Committed: Fri May 24 10:49:42 2013 -0700
----------------------------------------------------------------------
support/release.sh | 15 ++++++++++-----
1 files changed, 10 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mesos/blob/124d63a0/support/release.sh
----------------------------------------------------------------------
diff --git a/support/release.sh b/support/release.sh
index 0e1eec7..6ec568b 100755
--- a/support/release.sh
+++ b/support/release.sh
@@ -29,7 +29,7 @@ echo "${GREEN}Now let's sign the distribution ...${NORMAL}"
gpg --armor --output ${TARBALL}.asc --detach-sig ${TARBALL} || \
{ echo "${RED}Failed to sign the distribution${NORMAL}"; exit 1; }
-echo "${GREEN}And let's create an MD5 ...${NORMAL}"
+echo "${GREEN}And let's create a MD5 checksum...${NORMAL}"
# Create MD5 checksum.
gpg --print-md MD5 ${TARBALL} > ${TARBALL}.md5 || \
@@ -56,12 +56,17 @@ echo "${GREEN}Now let's make the artifacts world readable ...${NORMAL}"
{ echo "${RED}Failed to change permissions of artifacts${NORMAL}";
exit 1; }
-echo "${GREEN}Finally, we'll create an SVN tag/branch ...${NORMAL}"
+echo "${GREEN}Now we'll create a git tag ...${NORMAL}"
MESSAGE="Tag for release-${VERSION}-incubating-RC${CANDIDATE}."
+TAG="release-${VERSION}-incubating-RC${CANDIDATE}"
+git tag -m ${MESSAGE} ${TAG} || \
+ { echo "${RED}Failed to create git tag${NORMAL}"; exit 1; }
-git svn branch --tag -m ${MESSAGE} \
- release-${VERSION}-incubating-RC${CANDIDATE} || \
- { echo "${RED}Failed to create SVN tag/branch${NORMAL}"; exit 1; }
+echo "${GREEN}Finally, we'll push the git tag to the repository...${NORMAL}"
+
+REPOSITORY="https://git-wip-us.apache.org/repos/asf/incubator-mesos.git"
+git push ${REPOSITORY} ${TAG} || \
+ { echo "${RED}Failed to push git tag to the repo${NORMAL}"; exit 1; }
exit 0
[2/2] git commit: Fixed a bug in the release script regarding tag
creation.
Posted by vi...@apache.org.
Fixed a bug in the release script regarding tag creation.
Project: http://git-wip-us.apache.org/repos/asf/incubator-mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mesos/commit/4b9fb67c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mesos/tree/4b9fb67c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mesos/diff/4b9fb67c
Branch: refs/heads/master
Commit: 4b9fb67c458b9825784a4c85455c81a613ae02f0
Parents: 124d63a
Author: Vinod Kone <vi...@twitter.com>
Authored: Fri May 24 13:59:32 2013 -0700
Committer: Vinod Kone <vi...@twitter.com>
Committed: Fri May 24 13:59:32 2013 -0700
----------------------------------------------------------------------
support/release.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mesos/blob/4b9fb67c/support/release.sh
----------------------------------------------------------------------
diff --git a/support/release.sh b/support/release.sh
index 6ec568b..ef651a2 100755
--- a/support/release.sh
+++ b/support/release.sh
@@ -60,7 +60,7 @@ echo "${GREEN}Now we'll create a git tag ...${NORMAL}"
MESSAGE="Tag for release-${VERSION}-incubating-RC${CANDIDATE}."
TAG="release-${VERSION}-incubating-RC${CANDIDATE}"
-git tag -m ${MESSAGE} ${TAG} || \
+git tag -m "${MESSAGE}" ${TAG} || \
{ echo "${RED}Failed to create git tag${NORMAL}"; exit 1; }
echo "${GREEN}Finally, we'll push the git tag to the repository...${NORMAL}"