At first make sure that every thing still works, by running all the tests.
- Make sure that in your global gradle configuration (located in
~/.gradle/gradle.properties
) are the keysbintray.user
andbintray.apikey
. The username is that one you use to login onto bintray.com, the API Key is located in your profile in the API Key section. - Update the version numbers of the artifacts in
/build.gradle
and update if required the dependency in the example project. - Execute
./gradlew runtime-jvm:bintrayUpload
- Verify that you see the artifact on jcenter.
- Execute the steps for Bintray, then open the Artifact on Bintray and click on the
Maven Central
tab. Then click on the green button "sync". After a view minutes there should be the output "Successfully synced and closed repo." - After a view hours you should be able to see the artifact on Maven Central.
- Make sure that you are logged in the npm cli.
- Execute
./gradlew runtime-js:publishNpmPackage
. - Verify the results on
npm
.
- Make sure that
- Execute
./gradlew gradle-plugin:publishPlugins
. - Verify that the update is visible on the Gradle.
There are two ways. At first the manual way:
- Create the fat jar by executing
./gradlew cli:fatJar
- Create a new release at GitHub.
- Upload the created konversation.jar at the release page named as
konversation-cli.jar
.
- Check out the tap currently at https://github.com/rekire/homebrew-packages
- Update the sha256 hash and the (download) url in
konversation/Formular/konversation.rb
- Commit the changes and tag it
- Copy the konversation.jar into
cli-integrations/chocolaty/tools
- Update the sha256 hash and the download url in
cli-integrations/chocolaty/tools/legal/VERIFICATION.txt
- Run in cmd or powershell
cli-integrations/chocolaty
:choco pack && choco push konversation.nupkg -s https://chocolatey.org/
Or the more automated way:
- Create a token in GitHub with repo permission.
- Open a shell e.g. bash
- Execute
./upload-cli.sh <version of the release> <true if preview> <github token>
. This might take a while since it does the manual steps and creates 2 commits in two repositories and two tags. - Open cmd or powershell (on Windows)
- Execute in
cli-integrations/chocolaty
:choco pack && choco push konversation.nupkg -s https://chocolatey.org/