You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-6Lines changed: 12 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,11 +48,17 @@ The ideal next step is to test out the [Kontent Sample Spring Boot app](/sample-
48
48
49
49
## Publishing
50
50
51
-
> If you want to publish the new version, you need to have an access to [Bintray's Kentico organization](https://bintray.com/kentico).
51
+
> To publish a new version, it iss required to have write permissions for this repository (to be able to create releases) and access to the [Nexus Repository Manager](https://oss.sonatype.org/).
52
+
53
+
1. Verify that everything in the branch is ready to be published and the [build and tests](https://github.com/Kentico/kontent-java-packages/actions/workflows/gradle.yml) are passing.
54
+
1. Create new GitHub release - **the tag name of the release will be used as a version**
55
+
* If you define tag name with "-SNAPSHOT" suffix i.e. `4.4.0-SNAPSHOT` artifact will be published to the `https://oss.sonatype.org/content/repositories/snapshots/`, so that you could use it when you want to test out beta version.
56
+
* Release creation triggers the [Publish Github workflow](https://github.com/Kentico/kontent-java-packages/actions/workflows/publish.yml) and creates a publish the artifacts to "Staging" repositories on Nexus repository manager.
57
+
1. Log in to the [Nexus Repository Manager](https://oss.sonatype.org/).
58
+
1. Select "Staging repositories", verify the repository content (*sometimes it takes a couple of minutes until the repository is visible in the Nexus Repository Manager UI*).
59
+
1. Close the Staging repository
60
+
1. Release the Closed repository
61
+
62
+
> 💡 This is just an abbreviated description of the publishing process. If you want to see detailed publishing description, checkout the [wiki page "Publishing process"](https://github.com/Kentico/kontent-java-packages/wiki/Release-process).
52
63
53
-
1. Copy the `local.properties.template` file in this directory to `local.properties` (which will be idnored by Git)).
54
-
1. Set each variable on `local.properties` from the password manager, or contact @Kentico/developer-relations team to get them.
55
-
1. Set version you want to publish in [`build.gradle`](./build.gradle#L69).
0 commit comments