@@ -78,23 +78,23 @@ <h3>First time set up</h3>
78
78
</ li >
79
79
</ ul >
80
80
81
- < h3 > Fork version 1.7 .0-beta</ h3 >
82
- This is done in preparation for release of the 1.7 branch 1-2 weeks before the
83
- official launch. We create a named Mercurial branch for 1.7 . Development in the
81
+ < h3 > Fork version 1.8 .0-beta</ h3 >
82
+ This is done in preparation for release of the 1.8 branch 1-2 weeks before the
83
+ official launch. We create a named Mercurial branch for 1.8 . Development in the
84
84
default Mercurial branch may then progress for the next minor version.
85
85
< ul >
86
86
< li > Create the Mercurial named branch: < pre >
87
- hg branch 1.7
88
- hg commit -m "create 1.7 branch in preparation for release"
89
- hg push
87
+ hg branch 1.8
88
+ hg commit -m "create 1.8 branch in preparation for release"
89
+ hg push --new-branch
90
90
hg update default
91
91
</ pre > </ li >
92
- < li > For the following files, replace < code > 1.7 .0-beta</ code > with the
92
+ < li > For the following files, replace < code > 1.8 .0-beta</ code > with the
93
93
next minor version: < b > (TODO: update this section to use sed)</ b > < pre >
94
94
pom.xml
95
95
*/pom.xml
96
- jdiff.xml (first change "1.7 " to next minor version, then change "1.6 " to "1.7 ")
97
- release.html (first change "1.7 " to next minor version, then change "1.6 " to "1.7 ")
96
+ jdiff.xml (first change "1.8 " to next minor version, then change "1.7 " to "1.8 ")
97
+ release.html (first change "1.8 " to next minor version, then change "1.7 " to "1.8 ")
98
98
google-http-client/src/main/java/com/google/api/client/util/Strings.java
99
99
</ pre > </ li >
100
100
< li > Commit and push: < pre >
@@ -103,9 +103,9 @@ <h3>Fork version 1.7.0-beta</h3>
103
103
</ pre > </ li >
104
104
</ ul >
105
105
106
- < h3 > Release version 1.7 .0-beta</ h3 >
106
+ < h3 > Release version 1.8 .0-beta</ h3 >
107
107
This process is followed for the official launch. We are releasing the code from
108
- the 1.7 Mercurial branch.
108
+ the 1.8 Mercurial branch.
109
109
< ul >
110
110
< li > Checkout the source, update dependencies.html, update the version constant, and push to central Maven repository (based on instructions from < a
111
111
href ="https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide "> Sonatype
@@ -114,8 +114,8 @@ <h3>Release version 1.7.0-beta</h3>
114
114
rm -rf google-http-java-client
115
115
mkdir google-http-java-client
116
116
cd google-http-java-client
117
- hg clone -b 1.7 https://google-http-java-client.googlecode.com/hg/ 1.7
118
- cd 1.7
117
+ hg clone -b 1.8 https://google-http-java-client.googlecode.com/hg/ 1.8
118
+ cd 1.8
119
119
120
120
mvn project-info-reports:dependencies
121
121
cp google-http-client/target/site/dependencies.html google-http-client-assembly/dependencies/dependencies.html
@@ -125,12 +125,12 @@ <h3>Release version 1.7.0-beta</h3>
125
125
126
126
sed s/-SNAPSHOT//g <google-http-client/src/main/java/com/google/api/client/util/Strings.java >/tmp/Strings.java
127
127
cp /tmp/Strings.java google-http-client/src/main/java/com/google/api/client/util
128
- hg commit -m "prepare 1.7 .0-beta for release"
128
+ hg commit -m "prepare 1.8 .0-beta for release"
129
129
hg push
130
130
131
131
mvn clean deploy
132
132
mvn release:clean
133
- mvn release:prepare -DautoVersionSubmodules=true -Dtag=1.7 .0-beta --batch-mode
133
+ mvn release:prepare -DautoVersionSubmodules=true -Dtag=1.8 .0-beta --batch-mode
134
134
mvn release:perform -Darguments=-Dgpg.passphrase=< i > [YOUR GPG PASSPHRASE]</ i >
135
135
</ pre > </ li >
136
136
< li > Release on oss.sonatype.org
@@ -143,13 +143,13 @@ <h3>Release version 1.7.0-beta</h3>
143
143
</ ul >
144
144
Central Maven repository is synced hourly. Once uploaded onto
145
145
repo2.maven.org, it will be found at: < a
146
- href ="http://repo2.maven.org/maven2/com/google/http-client/google-http-client/1.7 .0-beta/ "> repo2.maven.org</ a >
146
+ href ="http://repo2.maven.org/maven2/com/google/http-client/google-http-client/1.8 .0-beta/ "> repo2.maven.org</ a >
147
147
</ li >
148
- < li > Start development of next bug fix version, by replacing < code > 1.7 .0-beta</ code > with the next bug fix version:< pre >
149
- NEXT_VERSION=< i > (next bug fix version 1.7 .X-beta)</ i >
150
- sed s/1.7 .0-beta/$NEXT_VERSION/g <jdiff.xml >/tmp/jdiff.xml
151
- sed s/1.7 .0-beta/$NEXT_VERSION/g <release.html >/tmp/release.html
152
- sed s/1.7 .0-beta/$NEXT_VERSION-SNAPSHOT/g <google-http-client/src/main/java/com/google/api/client/util/Strings.java >/tmp/Strings.java
148
+ < li > Start development of next bug fix version, by replacing < code > 1.8 .0-beta</ code > with the next bug fix version:< pre >
149
+ NEXT_VERSION=< i > (next bug fix version 1.8 .X-beta)</ i >
150
+ sed s/1.8 .0-beta/$NEXT_VERSION/g <jdiff.xml >/tmp/jdiff.xml
151
+ sed s/1.8 .0-beta/$NEXT_VERSION/g <release.html >/tmp/release.html
152
+ sed s/1.8 .0-beta/$NEXT_VERSION-SNAPSHOT/g <google-http-client/src/main/java/com/google/api/client/util/Strings.java >/tmp/Strings.java
153
153
mv /tmp/jdiff.xml /tmp/release.html .
154
154
mv /tmp/Strings.java google-http-client/src/main/java/com/google/api/client/util
155
155
hg commit -m "start $NEXT_VERSION"
@@ -167,40 +167,40 @@ <h3>Release version 1.7.0-beta</h3>
167
167
cd /tmp/google-http-java-client
168
168
hg clone https://code.google.com/p/google-http-java-client.javadoc/ javadoc
169
169
hg clone https://code.google.com/p/google-http-java-client.wiki/ wiki
170
- hg clone -r 1.6.0-beta https://google-http-java-client.googlecode.com/hg/ 1.6.0-beta
171
170
hg clone -r 1.7.0-beta https://google-http-java-client.googlecode.com/hg/ 1.7.0-beta
171
+ hg clone -r 1.8.0-beta https://google-http-java-client.googlecode.com/hg/ 1.8.0-beta
172
172
173
- cd 1.7 .0-beta
173
+ cd 1.8 .0-beta
174
174
mvn javadoc:jar install site
175
- cp -R target/site/apidocs ../javadoc/1.7 .0-beta
175
+ cp -R target/site/apidocs ../javadoc/1.8 .0-beta
176
176
< i > change these constants from jdiff.xml for your environment: JDIFF_HOME, MAVEN_REPOSITORY_HOME</ i >
177
177
ant -f jdiff.xml
178
178
179
179
cd ../javadoc
180
180
hg add
181
- PREV_VERSION=< i > (previous bug fix version 1.6 .X-beta)</ i >
182
- sed s/$PREV_VERSION/1.7 .0-beta/g < index .html > /tmp/index.html && mv /tmp/index.html index.html
183
- hg commit -m "1.7 .0-beta"
181
+ PREV_VERSION=< i > (previous bug fix version 1.7 .X-beta)</ i >
182
+ sed s/$PREV_VERSION/1.8 .0-beta/g < index .html > /tmp/index.html && mv /tmp/index.html index.html
183
+ hg commit -m "1.8 .0-beta"
184
184
hg push
185
185
186
186
cd ../wiki
187
- for s in *; do sed s/$PREV_VERSION/1.7 .0-beta/g < $s > /tmp/$s && mv /tmp/$s .; done
187
+ for s in *; do sed s/$PREV_VERSION/1.8 .0-beta/g < $s > /tmp/$s && mv /tmp/$s .; done
188
188
hg revert --no-backup ReleaseNotes.wiki
189
- < i > edit ReleaseNotes.wiki to add release notes for 1.7 .0-beta</ i >
190
- hg commit -m "1.7 .0-beta"
189
+ < i > edit ReleaseNotes.wiki to add release notes for 1.8 .0-beta</ i >
190
+ hg commit -m "1.8 .0-beta"
191
191
hg push
192
192
</ pre > </ li >
193
193
< li > < b > WAIT!</ b > Don't do the following instructions until after the
194
194
library has been uploaded to repo2.maven.org at: < a
195
- href ="http://repo2.maven.org/maven2/com/google/http-client/google-http-client/1.7 .0-beta/ "> repo2.maven.org</ a > </ li >
195
+ href ="http://repo2.maven.org/maven2/com/google/http-client/google-http-client/1.8 .0-beta/ "> repo2.maven.org</ a > </ li >
196
196
< li > Update to new version on < a
197
197
href ="http://code.google.com/p/google-http-java-client "> http://code.google.com/p/google-http-java-client</ a >
198
198
< ul >
199
199
< li > Upload to < a
200
200
href ="http://code.google.com/p/google-http-java-client/downloads/entry "> http://code.google.com/p/google-http-java-client/downloads/entry</ a >
201
201
< ul >
202
- < li > Summary: Google HTTP Client Library for Java, version 1.7 .0-beta</ li >
203
- < li > File: < code > /tmp/google-http-java-client/1.7 .0-beta/google-http-client-assembly/target/google-http-client-1.7 .0-beta-java.zip</ code > </ li >
202
+ < li > Summary: Google HTTP Client Library for Java, version 1.8 .0-beta</ li >
203
+ < li > File: < code > /tmp/google-http-java-client/1.8 .0-beta/google-http-client-assembly/target/google-http-client-1.8 .0-beta-java.zip</ code > </ li >
204
204
< li > Labels: < code > Type-Archive</ code > , < code > OpSys-All</ code > , and < code > Featured</ code > </ li >
205
205
< li > click Submit file</ li >
206
206
</ ul >
@@ -214,7 +214,7 @@ <h3>Release version 1.7.0-beta</h3>
214
214
href ="http://www.blogger.com/post-create.g?blogID=4291939896242474921 "> New
215
215
Post</ a > on the < a href ="http://google-http-java-client.blogspot.com/ "> announcement
216
216
blog</ a > about the new version, including links to < a
217
- href ="http://code.google.com/p/google-http-java-client/issues/list?can=1&q=milestone=Version1.7 .0%20status=Fixed&colspec=ID%20Type%20Priority%20Summary "> new
217
+ href ="http://code.google.com/p/google-http-java-client/issues/list?can=1&q=milestone=Version1.8 .0%20status=Fixed&colspec=ID%20Type%20Priority%20Summary "> new
218
218
features and bugs fixed</ a > .</ li >
219
219
</ ul >
220
220
</ body >
0 commit comments