@@ -100,67 +100,7 @@ The release happens in two phases:
100100
101101#### Script
102102
103- # Pick a release BUILDQUALIFIER (e.g. v20170401-0001) and update versions
104- # E.g. version is: "4.0.13" and BUILDQUALIFIER is "v20170401-0001".
105- # The complete version of the plugin will be "4.0.13.v20170401-0001
106- export BUILDQUALIFIER=$(date -u +v%Y%m%d-%H%M) && echo $BUILDQUALIFIER
107-
108- # Pick the version of the new release and the next development version
109- export VERSION=4.0.18
110- export NEXT=4.0.19
111-
112- echo Update the ReleaseNotes with the release date and version:
113- echo
114- echo "## $(date -u +%d-%B-%Y): $VERSION.$BUILDQUALIFIER"
115- echo
116- echo
117- echo "Press enter to continue..."
118- read
119- ./mvnw -Dtycho.mode=maven org.eclipse.tycho:tycho-versions-plugin:1.7.0:set-version -DnewVersion=$VERSION.$BUILDQUALIFIER
120- git commit -a -m "Prepare release pmd-eclipse-plugin $VERSION.$BUILDQUALIFIER"
121- git tag $VERSION.$BUILDQUALIFIER
122- echo "Create (temporary) release branch"
123- git branch pmd-eclipse-plugin-rb-$VERSION
124-
125- echo
126- echo Update the ReleaseNotes and add a next version entry:
127- echo "## ????: $NEXT.v????"
128- echo
129- echo
130- echo Press enter...
131- read
132-
133- echo "Updating version in master to next"
134- ./mvnw -Dtycho.mode=maven org.eclipse.tycho:tycho-versions-plugin:1.7.0:set-version -DnewVersion=$NEXT-SNAPSHOT
135- git commit -a -m "Prepare next pmd-eclipse-plugin development version $NEXT-SNAPSHOT"
136-
137- echo Checkout the release branch and build the plugin
138- git checkout pmd-eclipse-plugin-rb-$VERSION
139-
140- ./mvnw clean verify
141-
142- echo
143- echo "Please test now!!!"
144- echo
145- echo "Update-site: jar:file:$(pwd)/net.sourceforge.pmd.eclipse.p2updatesite/target/net.sourceforge.pmd.eclipse.p2updatesite-$VERSION.$BUILDQUALIFIER.zip!/"
146- echo
147- read
148-
149- echo
150- echo "Publishing now..."
151- git checkout master
152- git branch -D pmd-eclipse-plugin-rb-$VERSION
153- git push origin master
154- git push origin tag $VERSION.$BUILDQUALIFIER
155- echo
156- echo
157-
158- echo
159- echo Update the marketplace entry with the new version:
160- echo https://marketplace.eclipse.org/content/pmd-eclipse-plugin
161- echo
162-
163- echo Done.
103+ See ` do-release.sh ` .
164104
165105Verify, that the zipped update site has been uploaded to
166106[ GitHub Releases] ( https://github.com/pmd/pmd-eclipse-plugin/releases ) and [ sourceforge] ( https://pmd.github.io/pmd-eclipse-plugin-p2-site/ )
0 commit comments