diff options
author | Henri Sara <hesara@vaadin.com> | 2015-08-07 15:56:32 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2015-08-10 10:24:42 +0000 |
commit | 06f8b7dca90676efa905e3eb69b73660f1585e0b (patch) | |
tree | f4cf3cfe6da9984c36a27cabf973ff79428a265c /scripts | |
parent | 82647dd69e9bc6fc9961197ddb2eb9868744b568 (diff) | |
download | vaadin-framework-06f8b7dca90676efa905e3eb69b73660f1585e0b.tar.gz vaadin-framework-06f8b7dca90676efa905e3eb69b73660f1585e0b.zip |
Basic tagging commands in staging report
Change-Id: I4d211975569e082aefafc9eca0bb0a374739d81d
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/GenerateStagingReport.py | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/scripts/GenerateStagingReport.py b/scripts/GenerateStagingReport.py index cf53928379..fad66b993f 100644 --- a/scripts/GenerateStagingReport.py +++ b/scripts/GenerateStagingReport.py @@ -38,6 +38,40 @@ content += """</pre> <tr><td><a href="https://dev.vaadin.com/milestone/Vaadin {version}">Trac Milestone</a></td></tr> <tr><td><a href="https://dev.vaadin.com/admin/ticket/versions">Add version {version} to Trac</td></tr> <tr><td><a href="{url}">Staging result page (See test results, pin and tag build and dependencies)</a></td></tr> +<tr><td>Commands to tag all repositories (warning: do not run as a single script but set variables and check before any push commands - this has not been tested yet and the change IDs are missing)</td></tr> +<tr><td><pre> +VERSION={version} + +GERRIT_USER=[fill in your gerrit username] +FRAMEWORK_REVISION=[fill in framework revision] +SCREENSHOTS_REVISION=[fill in screenshot repository revision] +ARCHETYPES_REVISION=[fill in maven-integration repository revision] +PLUGIN_REVISION=[fill in maven plug-in repository revision] + +git clone ssh://$GERRIT_USER@dev.vaadin.com:29418/vaadin +cd vaadin +git tag -a -m"$VERSION" $VERSION $FRAMEWORK_REVISION +git push --tags +cd .. + +git clone ssh://$GERRIT_USER@dev.vaadin.com:29418/vaadin-screenshots +cd vaadin-screenshots +git tag -a -m"$VERSION" $VERSION $SCREENSHOTS_REVISION +git push --tags +cd .. + +git clone ssh://$GERRIT_USER@dev.vaadin.com:29418/maven-integration +cd maven-integration +git tag -a -m"$VERSION" $VERSION $ARCHETYPES_REVISION +git push --tags +cd .. + +git clone ssh://$GERRIT_USER@dev.vaadin.com:29418/maven-plugin +cd maven-plugin +git tag -a -m"$VERSION" $VERSION $PLUGIN_REVISION +git push --tags +cd .. +</pre></td></tr> </table> </body> </html>""".format(url=args.buildResultUrl, repoUrl=args.stagingRepo, version=args.version) |