Skip to content

Commit 6255150

Browse files
authored
Merge pull request #57 from EasyPost/bump_for_real
Bump version to 4.0.4
2 parents c3dd08c + 53415f3 commit 6255150

File tree

4 files changed

+22
-7
lines changed

4 files changed

+22
-7
lines changed

CHANGELOG

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
=== 4.0.4 2020-10-29
2+
- Actually bump User-Agent (which hadn't been bumped since 4.0.0)
3+
14
=== 4.0.3 2020-10-26
25
* Change `PUT` requests to be properly-encoded
36
* Handle null previous_attributes
@@ -9,7 +12,6 @@
912
* Fixed test cases on EasyPostTest (testPickup, testShipmentWithPostageLabelWithOptions )
1013
* Fixed intermittent WebHook callback event containing "previous_attributes": null
1114

12-
1315
=== 4.0.1 2018-08-28
1416

1517
* Add labelFile for postage_label_inline option

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
4.0.3
1+
4.0.4
22

pom.xml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<groupId>com.easypost</groupId>
66
<artifactId>easypost-api-client</artifactId>
77

8-
<version>4.0.3</version>
8+
<version>4.0.4</version>
99
<packaging>jar</packaging>
1010

1111
<name>com.easypost:easypost-api-client</name>
@@ -67,11 +67,11 @@
6767

6868
<distributionManagement>
6969
<snapshotRepository>
70-
<id>sonatype-nexus-snapshots</id>
70+
<id>ossrh</id>
7171
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
7272
</snapshotRepository>
7373
<repository>
74-
<id>sonatype-nexus-staging</id>
74+
<id>ossrh</id>
7575
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
7676
</repository>
7777
</distributionManagement>
@@ -144,11 +144,24 @@
144144
<version>1.6.7</version>
145145
<extensions>true</extensions>
146146
<configuration>
147-
<serverId>sonatype-nexus-staging</serverId>
147+
<serverId>ossrh</serverId>
148148
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
149149
<autoReleaseAfterClose>true</autoReleaseAfterClose>
150150
</configuration>
151151
</plugin>
152+
<plugin>
153+
<groupId>org.codehaus.mojo</groupId>
154+
<artifactId>templating-maven-plugin</artifactId>
155+
<version>1.0.0</version>
156+
<executions>
157+
<execution>
158+
<id>filtering-java-templates</id>
159+
<goals>
160+
<goal>filter-sources</goal>
161+
</goals>
162+
</execution>
163+
</executions>
164+
</plugin>
152165
</plugins>
153166
</build>
154167
</project>

src/main/java/com/easypost/EasyPost.java renamed to src/main/java-templates/com/easypost/EasyPost.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
public abstract class EasyPost {
44
public static String API_BASE = "https://api.easypost.com/v2";
5-
public static final String VERSION = "4.0.0";
5+
public static final String VERSION = "${project.version}";
66
public static String apiKey;
77
public static String apiVersion;
88
public static int readTimeout;

0 commit comments

Comments
 (0)