Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSravan Kumar Lakkimsetti2016-12-08 10:38:04 +0000
committerSravan Kumar Lakkimsetti2016-12-08 10:38:04 +0000
commit18e0a0bdcdccd5e1ba3bfbbdc34c46650fa9848c (patch)
tree9c72e10ff681d32c679b66bc915ccb4413553884
parent9584576547a30fd751d299ad8cb8d1a02ac33d53 (diff)
downloadeclipse.platform.releng.aggregator-18e0a0bdcdccd5e1ba3bfbbdc34c46650fa9848c.tar.gz
eclipse.platform.releng.aggregator-18e0a0bdcdccd5e1ba3bfbbdc34c46650fa9848c.tar.xz
eclipse.platform.releng.aggregator-18e0a0bdcdccd5e1ba3bfbbdc34c46650fa9848c.zip
Bug 508503 - Tagging of individual repositories
Change-Id: I4ec37581816316fd180feeebb55319ee1f60827c Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
-rwxr-xr-xproduction/sdk/promoteStableRelease/promoteImpl/tagPromotedBuilds.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/production/sdk/promoteStableRelease/promoteImpl/tagPromotedBuilds.sh b/production/sdk/promoteStableRelease/promoteImpl/tagPromotedBuilds.sh
index 20446690..7ac3ac9f 100755
--- a/production/sdk/promoteStableRelease/promoteImpl/tagPromotedBuilds.sh
+++ b/production/sdk/promoteStableRelease/promoteImpl/tagPromotedBuilds.sh
@@ -21,6 +21,7 @@ echo "# navigate to gitcache aggregator" >> ${CL_SITE}/deferredTag.sh
echo "pushd ${BUILD_ROOT}/${AGGR_LOCATION}" >> ${CL_SITE}/deferredTag.sh
echo "" >> ${CL_SITE}/deferredTag.sh
echo "# DROP_ID == BUILD_ID, which should already exist as tag (for all I and M builds)" >> ${CL_SITE}/deferredTag.sh
+echo "git submodule foreach git tag -a -m \"${NEW_ANNOTATION}\" ${NEW_TAG} ${DROP_ID}" >> ${CL_SITE}/deferredTag.sh
echo "git tag -a -m \"${NEW_ANNOTATION}\" ${NEW_TAG} ${DROP_ID}" >> ${CL_SITE}/deferredTag.sh
echo "RC=\$?" >> ${CL_SITE}/deferredTag.sh
echo "if [[ \$RC != 0 ]]" >> ${CL_SITE}/deferredTag.sh
@@ -29,6 +30,7 @@ echo " printf \"\n\t%s\n\" \"ERROR: Failed to tag aggregator old id, ${DROP_ID
echo " popd" >> ${CL_SITE}/deferredTag.sh
echo " exit \$RC" >> ${CL_SITE}/deferredTag.sh
echo "fi" >> ${CL_SITE}/deferredTag.sh
+echo "git submodule foreach git push origin tag ${NEW_TAG}" >> ${CL_SITE}/deferredTag.sh
echo "git push origin tag ${NEW_TAG}" >> ${CL_SITE}/deferredTag.sh
echo "RC=\$?" >> ${CL_SITE}/deferredTag.sh
echo "if [[ \$RC != 0 ]]" >> ${CL_SITE}/deferredTag.sh

Back to the top