Skip to content

Commit

Permalink
Enable releasetool for this project (#488)
Browse files Browse the repository at this point in the history
* Add versions.txt file

* Add version tags to pom.xml files
  • Loading branch information
chingor13 authored Oct 11, 2018
1 parent d27f448 commit 85cefab
Show file tree
Hide file tree
Showing 15 changed files with 47 additions and 15 deletions.
2 changes: 1 addition & 1 deletion google-http-client-android-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>google-http-client</groupId>
<artifactId>google-http-client-android-test</artifactId>
<name>Test project for google-http-client-android.</name>
<version>1.26.0-SNAPSHOT</version>
<version>1.26.0-SNAPSHOT</version><!-- {x-version-update:google-http-client-android-test:current} -->
<packaging>apk</packaging>

<build>
Expand Down
3 changes: 2 additions & 1 deletion google-http-client-android/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
<parent>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-parent</artifactId>
<version>1.26.0-SNAPSHOT</version>
<version>1.26.0-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>google-http-client-android</artifactId>
<version>1.26.0-SNAPSHOT</version><!-- {x-version-update:google-http-client-android:current} -->
<name>Android Platform Extensions to the Google HTTP Client Library for Java.</name>

<build>
Expand Down
4 changes: 3 additions & 1 deletion google-http-client-appengine/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
<parent>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-parent</artifactId>
<version>1.26.0-SNAPSHOT</version>
<version>1.26.0-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>google-http-client-appengine</artifactId>
<version>1.26.0-SNAPSHOT</version><!-- {x-version-update:google-http-client-appengine:current} -->
<name>Google App Engine extensions to the Google HTTP Client Library for Java.</name>

<build>
<plugins>
<plugin>
Expand Down
3 changes: 2 additions & 1 deletion google-http-client-assembly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
<parent>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-parent</artifactId>
<version>1.26.0-SNAPSHOT</version>
<version>1.26.0-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-assembly</artifactId>
<version>1.26.0-SNAPSHOT</version><!-- {x-version-update:google-http-client-assembly:current} -->
<packaging>pom</packaging>
<name>Assembly for the Google HTTP Client Library for Java</name>

Expand Down
4 changes: 3 additions & 1 deletion google-http-client-findbugs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
<parent>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-parent</artifactId>
<version>1.26.0-SNAPSHOT</version>
<version>1.26.0-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>google-http-client-findbugs</artifactId>
<version>1.26.0-SNAPSHOT</version><!-- {x-version-update:google-http-client-findbugs:current} -->
<name>Google APIs Client Library Findbugs custom plugin.</name>

<build>
<plugins>
<plugin>
Expand Down
3 changes: 2 additions & 1 deletion google-http-client-gson/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
<parent>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-parent</artifactId>
<version>1.26.0-SNAPSHOT</version>
<version>1.26.0-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>google-http-client-gson</artifactId>
<version>1.26.0-SNAPSHOT</version><!-- {x-version-update:google-http-client-gson:current} -->
<name>GSON extensions to the Google HTTP Client Library for Java.</name>

<build>
Expand Down
3 changes: 2 additions & 1 deletion google-http-client-jackson/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
<parent>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-parent</artifactId>
<version>1.26.0-SNAPSHOT</version>
<version>1.26.0-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>google-http-client-jackson</artifactId>
<version>1.26.0-SNAPSHOT</version><!-- {x-version-update:google-http-client-jackson:current} -->
<name>Jackson extensions to the Google HTTP Client Library for Java.</name>

<build>
Expand Down
3 changes: 2 additions & 1 deletion google-http-client-jackson2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
<parent>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-parent</artifactId>
<version>1.26.0-SNAPSHOT</version>
<version>1.26.0-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>google-http-client-jackson2</artifactId>
<version>1.26.0-SNAPSHOT</version><!-- {x-version-update:google-http-client-jackson2:current} -->
<name>Jackson 2 extensions to the Google HTTP Client Library for Java.</name>

<build>
Expand Down
4 changes: 3 additions & 1 deletion google-http-client-jdo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
<parent>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-parent</artifactId>
<version>1.26.0-SNAPSHOT</version>
<version>1.26.0-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>google-http-client-jdo</artifactId>
<version>1.26.0-SNAPSHOT</version><!-- {x-version-update:google-http-client-jdo:current} -->
<name>JDO extensions to the Google HTTP Client Library for Java.</name>

<build>
<plugins>
<plugin>
Expand Down
3 changes: 2 additions & 1 deletion google-http-client-protobuf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
<parent>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-parent</artifactId>
<version>1.26.0-SNAPSHOT</version>
<version>1.26.0-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>google-http-client-protobuf</artifactId>
<version>1.26.0-SNAPSHOT</version><!-- {x-version-update:google-http-client-protobuf:current} -->
<name>Protocol Buffer extensions to the Google HTTP Client Library for Java.</name>

<build>
Expand Down
3 changes: 2 additions & 1 deletion google-http-client-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
<parent>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-parent</artifactId>
<version>1.26.0-SNAPSHOT</version>
<version>1.26.0-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>google-http-client-test</artifactId>
<version>1.26.0-SNAPSHOT</version><!-- {x-version-update:google-http-client-test:current} -->
<name>Shared classes used for testing of artifacts in the Google HTTP Client Library for Java.</name>

<build>
Expand Down
3 changes: 2 additions & 1 deletion google-http-client-xml/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
<parent>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-parent</artifactId>
<version>1.26.0-SNAPSHOT</version>
<version>1.26.0-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>google-http-client-xml</artifactId>
<version>1.26.0-SNAPSHOT</version><!-- {x-version-update:google-http-client-xml:current} -->
<name>XML extensions to the Google HTTP Client Library for Java.</name>

<build>
Expand Down
5 changes: 3 additions & 2 deletions google-http-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@
<parent>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-parent</artifactId>
<version>1.26.0-SNAPSHOT</version>
<version>1.26.0-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>google-http-client</artifactId>
<version>1.26.0-SNAPSHOT</version><!-- {x-version-update:google-http-client:current} -->
<name>Google HTTP Client Library for Java</name>
<description>
Google HTTP Client Library for Java. Functionality that works on all supported Java platforms,
including Java 5 (or higher) desktop (SE) and web (EE), Android, and Google App Engine.
including Java 6 (or higher) desktop (SE) and web (EE), Android, and Google App Engine.
</description>

<build>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</parent>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-parent</artifactId>
<version>1.26.0-SNAPSHOT</version>
<version>1.26.0-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
<packaging>pom</packaging>
<name>Parent for the Google HTTP Client Library for Java</name>

Expand Down
17 changes: 17 additions & 0 deletions versions.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Format:
# module:released-version:current-version

google-http-client:1.25.0:1.26.0-SNAPSHOT
google-http-client-parent:1.25.0:1.26.0-SNAPSHOT
google-http-client-android:1.25.0:1.26.0-SNAPSHOT
google-http-client-android-test:1.25.0:1.26.0-SNAPSHOT
google-http-client-appengine:1.25.0:1.26.0-SNAPSHOT
google-http-client-assembly:1.25.0:1.26.0-SNAPSHOT
google-http-client-findbugs:1.25.0:1.26.0-SNAPSHOT
google-http-client-gson:1.25.0:1.26.0-SNAPSHOT
google-http-client-jackson:1.25.0:1.26.0-SNAPSHOT
google-http-client-jackson2:1.25.0:1.26.0-SNAPSHOT
google-http-client-jdo:1.25.0:1.26.0-SNAPSHOT
google-http-client-protobuf:1.25.0:1.26.0-SNAPSHOT
google-http-client-test:1.25.0:1.26.0-SNAPSHOT
google-http-client-xml:1.25.0:1.26.0-SNAPSHOT

0 comments on commit 85cefab

Please sign in to comment.