Skip to content

Commit

Permalink
Release 1.4.6 and add instructions for maintainers. (dp-58) (#75)
Browse files Browse the repository at this point in the history
* Release 1.4.6 and add instructions for maintainers.

* Additional release instructions (#76)

---------

Co-authored-by: Blake Smith <blakesmith0@gmail.com>
  • Loading branch information
prestonhansen and blakesmith authored Mar 26, 2024
1 parent bb232f8 commit d83c17a
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 4 deletions.
22 changes: 20 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ Add a dependency using Maven
<dependency>
<groupId>com.sproutsocial</groupId>
<artifactId>nsq-j</artifactId>
<version>1.4.3</version>
<version>1.4.6</version>
</dependency>
```
or Gradle
```
dependencies {
compile 'com.sproutsocial:nsq-j:1.4.3'
compile 'com.sproutsocial:nsq-j:1.4.6'
}
```

Expand Down Expand Up @@ -116,3 +116,21 @@ If you just want to execute the test suite, you can use:

> make clean test
## Releasing a new version of `nsq-j` (for maintainers)

### Bump the library version

The `nsq-j` version is referenced in several places, such as this README,
as well as in the pom file. See a prior release PR such as [this one](https://github.com/sproutsocial/nsq-j/pull/66)
for an example.

### Creating a Release

0. Make sure you've bumped the library version (see previous section)
1. Tag the release commit with the correct version number: `v${VERSION}`.
2. Push the tag to GitHub
3. Create a release in the GitHub UI. You can use GitHub's "Automatically generated release notes"
4. Once a release has been created, GitHub actions will automatically push the tagged version to Maven Central

Maven central usually takes a few hours to propagate through their caching / CDN infrastructure.

2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.sproutsocial</groupId>
<artifactId>nsq-j</artifactId>
<version>1.4.5</version>
<version>1.4.6</version>
<packaging>jar</packaging>

<name>nsq-j</name>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/sproutsocial/nsq/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class Config {
private Boolean deflate;
private Integer deflateLevel;
private Integer sampleRate;
private String userAgent = "nsq-j/1.4.3";
private String userAgent = "nsq-j/1.4.6";
private Integer msgTimeout;

//region accessors
Expand Down

0 comments on commit d83c17a

Please sign in to comment.