You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by ga...@apache.org on 2019/02/06 20:05:21 UTC
svn commit: r32364 - /dev/jclouds/prepare_release.sh
Author: gaul
Date: Wed Feb 6 20:05:21 2019
New Revision: 32364
Log:
Update git-wip-us to gitbox
Modified:
dev/jclouds/prepare_release.sh
Modified: dev/jclouds/prepare_release.sh
==============================================================================
--- dev/jclouds/prepare_release.sh (original)
+++ dev/jclouds/prepare_release.sh Wed Feb 6 20:05:21 2019
@@ -50,7 +50,7 @@ if [[ -e ${BRANCH} ]]; then
fi
function rc_version {
- LAST_RC=`git ls-remote --tags https://git-wip-us.apache.org/repos/asf/jclouds.git *jclouds-${RELEASE}-rc* \
+ LAST_RC=`git ls-remote --tags https://gitbox.apache.org/repos/asf/jclouds.git *jclouds-${RELEASE}-rc* \
|awk '{print $2}' |grep "[0-9]$" |grep -o '[^/]*$' |sort -r |head -n 1`
if [[ "${LAST_RC}" == "" ]]; then
echo "rc1"
@@ -61,7 +61,7 @@ function rc_version {
}
function current_snapshot {
- echo `curl -L "https://git-wip-us.apache.org/repos/asf?p=jclouds.git;a=blob_plain;f=pom.xml;hb=refs/heads/${BRANCH}" \
+ echo `curl -L "https://gitbox.apache.org/repos/asf?p=jclouds.git;a=blob_plain;f=pom.xml;hb=refs/heads/${BRANCH}" \
2>/dev/null |grep SNAPSHOT |head -n 1 |cut -d'>' -f2 |cut -d'<' -f1`
}
@@ -77,7 +77,7 @@ RC=$(rc_version)
function clone_repos {
for REPO in ${REPOS[@]}; do
- git clone https://git-wip-us.apache.org/repos/asf/${REPO}.git --single-branch -b ${BRANCH}
+ git clone https://gitbox.apache.org/repos/asf/${REPO}.git --single-branch -b ${BRANCH}
done
}
@@ -176,7 +176,7 @@ for REPO in ${REPOS[@]}; do
REV=`git show-ref -s ${TAG}`
SHA=`git rev-list --max-count=1 ${TAG}`
echo " * ${REPO}"
- echo " - tag: https://git-wip-us.apache.org/repos/asf?p=${REPO}.git;a=tag;h=${REV}"
+ echo " - tag: https://gitbox.apache.org/repos/asf?p=${REPO}.git;a=tag;h=${REV}"
echo " - sha-1: ${SHA}"
cd ..