Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Davis2015-01-30 14:29:22 -0500
committerSam Davis2015-01-30 14:29:22 -0500
commit8449bdd8461351500bc53c51277097c02379a2d8 (patch)
treef5220985dd329d25113257dfde467b789b0ce3f4
parent85f0b06f33f3de885f496f60c9abc57870ad9ab4 (diff)
downloadorg.eclipse.mylyn-e_4_4_m_3_15_x.tar.gz
org.eclipse.mylyn-e_4_4_m_3_15_x.tar.xz
org.eclipse.mylyn-e_4_4_m_3_15_x.zip
457998: update snapshot sites when doing SRR_3_15_0e_4_4_m_3_15_x
Change-Id: If5b5c6807e650a8dc794fdbcc139755fbfac5ba2 Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=457998
-rwxr-xr-xorg.eclipse.mylyn.releng/bin/update-versions.sh13
1 files changed, 12 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.releng/bin/update-versions.sh b/org.eclipse.mylyn.releng/bin/update-versions.sh
index 4bf4783..277ac79 100755
--- a/org.eclipse.mylyn.releng/bin/update-versions.sh
+++ b/org.eclipse.mylyn.releng/bin/update-versions.sh
@@ -12,6 +12,13 @@ find . -name feature.xml | xargs sed -i~ -e "s/\(mylyn.* version=\"\)$OLD\(\" ma
find . -name feature.xml | xargs sed -i~ -e "s/\(mylyn.* version=\"\)$OLD\(\" match=\"greaterOrEqual\".*\)/\1$NEW\2/"
}
+updateSnapshotSitesForSR() {
+MAJOR_MINOR=$1
+echo "Updating snapshot sites to $MAJOR_MINOR"
+sed -i~ -e "s#http://download.eclipse.org/mylyn/snapshots/nightly.*/<#http://download.eclipse.org/mylyn/snapshots/$MAJOR_MINOR/<#" \
+org.eclipse.mylyn/org.eclipse.mylyn-parent/pom.xml
+}
+
#mvn -Dtycho.mode=maven org.sonatype.tycho:tycho-versions-plugin:set-version -DnewVersion=1.4.1-SNAPSHOT
update 1.6.0 1.7.0 # builds, versions, org.eclipse.mylyn.commons.identiy/notifications/repositories
@@ -19,5 +26,9 @@ update 2.3.0 2.4.0 # docs
update 2.5.0 2.6.0 # reviews
update 3.14.0 3.15.0
update 5.10.0 5.11.0 # CDT
-
+
+# Must do this for first SR on a branch
+#updateSnapshotSitesForSR 3.14
+
+
#grep Bundle-Version */META-INF/MANIFEST.MF | grep -v 0.9.0 | grep -v 3.7.0 | grep -v 1.5.0

Back to the top