I published my library to jCenter as v1.0.0 by using novoda/bintray-release
at the first time.
Actually I want to update it as v1.0.1, how can i do it?
[EDITED] I added the image for release note of another library as below.
I published my library to jCenter as v1.0.0 by using novoda/bintray-release
at the first time.
Actually I want to update it as v1.0.1, how can i do it?
[EDITED] I added the image for release note of another library as below.
You will have to change the version in the publish section of your build.gradle file. Then, run the plugin again.
This will create a new version in bintray.
These are the steps I follow whenever I update my Bintray library:
Update the libraryVersion
name in your library module build.gradle file. See this answer for more on that.
ext {
...
libraryVersion = '2.0.0'
...
}
Create a new version in Bintray that matches what you called libraryVersion
in your build.gradle file.
In the root folder of your project, run the following command in a terminal.
./gradlew bintrayUpload
There are different things that can fail here. Google the error code to solve it. Here were a couple recent ones for me.
Update your GitHub documentation and create new release matching the Bintray version.
After following these steps my project was immediately updated on Bintray (and jCenter).
libraryVersion
and running ./gradlew bintrayUpload
(and not create a new release in Github or a new version in Bintray). However, when I did that it removed the version history in Bintray, so my current preference is to do all four steps above.You will have to change the version in the publish section of your build.gradle file. Then, run the plugin again.
This will create a new version in bintray.
publishVersion
but it made new one. –
Ecosphere © 2022 - 2024 — McMap. All rights reserved.
publishVersion
but it made new one. – Ecosphere