Skip to content

Commit 33d8eb5

Browse files
committed
Add some notes
1 parent b04c438 commit 33d8eb5

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ ApiCall<?> call2 = spotifyWebApi.getXApi().getX("requiredParam").optionalParam1(
2424
- Added support for all authorization flows. See [here](https://github.com/sonallux/spotify-web-api-java/tree/master/spotify-web-api-java#authorization) for more details.
2525

2626
## [1.x.x]
27-
The changelog of the `1.x.x` version of the `spotify-web-api-java` can be found [on the master branch](https://github.com/sonallux/spotify-web-api-java/blob/master/CHANGELOG.md).
27+
The changelog of the `1.x.x` version of the `spotify-web-api-java` can be found on the [master branch](https://github.com/sonallux/spotify-web-api-java/blob/master/CHANGELOG.md).

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
A Java wrapper for Spotify's Web API.
88

9+
This is the 2.x.x version of the `spotify-web-api-java` library. The 1.x.x version can be found on the [master branch](https://github.com/sonallux/spotify-web-api-java/tree/master)
10+
911
## Installation
1012
This library will be available on [Maven Central](https://search.maven.org/search?q=g:%22de.sonallux.spotify%22%20AND%20a:%22spotify-web-api-java%22) in the future:
1113

@@ -43,3 +45,9 @@ Code example: [AuthorizationCodePKCEExample.java](spotify-web-api-java/src/test/
4345
Code example: [ImplicitGrantExample.java](spotify-web-api-java/src/test/java/examples/ImplicitGrantExample.java)
4446
### [Client credentials flow](https://developer.spotify.com/documentation/general/guides/authorization-guide/#client-credentials-flow)
4547
Code example: [ClientCredentialsExample.java](spotify-web-api-java/src/test/java/examples/ClientCredentialsExample.java)
48+
49+
## How to release a new version
50+
1. Update the version number with `./mvnw versions:set -DnewVersion="<version>" -DgenerateBackupPoms=false`
51+
2. Commit and push changes to GitHub
52+
3. Wait till CI is green
53+
4. Tag and push the commit created in step 1. A GitHub actions workflow will automatically deploy the artifacts to Maven Central.

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
<mockito-junit-jupiter.version>3.8.0</mockito-junit-jupiter.version>
6868
</properties>
6969

70+
<!-- Remove this when spotify-web-api-core is available on maven central -->
7071
<repositories>
7172
<repository>
7273
<id>ossrh-snapshots</id>

0 commit comments

Comments
 (0)