Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Java SDK for the [**Machine Payments Protocol**](https://mpp.dev)
### Gradle

```groovy
implementation 'com.stripe:mpp-java:0.1.0'
implementation 'com.stripe:mpp-java:0.1.1'
```

### Maven
Expand All @@ -20,7 +20,7 @@ implementation 'com.stripe:mpp-java:0.1.0'
<dependency>
<groupId>com.stripe</groupId>
<artifactId>mpp-java</artifactId>
<version>0.1.0</version>
<version>0.1.1</version>
</dependency>
```

Expand Down Expand Up @@ -99,3 +99,17 @@ if (result instanceof VerifyResult.Challenged) {
// serve your content
}
```

## Releasing

1. Create a release branch and update `VERSION_NAME` in `gradle.properties` and the version references in this README.
2. Open a PR and let CI pass.
3. Merge the PR to `main`.
4. Tag the merge commit and push the tag:
```sh
git checkout main && git pull
git tag v<version>
git push origin v<version>
```
5. The [Publish workflow](.github/workflows/publish.yml) will automatically build, test across Java 11/17/21, and publish to Maven Central.
6. Verify the artifact appears on [Maven Central](https://central.sonatype.com/artifact/com.stripe/mpp-java).
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GROUP=com.stripe
VERSION_NAME=0.1.0
VERSION_NAME=0.1.1

POM_URL=https://github.com/stripe/mpp-java
POM_SCM_URL=git@github.com:stripe/mpp-java.git
Expand Down
Loading