Use semantic-release to automatically release new versions
hsluoyz opened this issue · comments
See how we did it for jCasbin: casbin/jcasbin#76
It will takes a little time, because this project is managed with gradle.
@shy1st @fangzhengjin why don't we use Maven like jCasbin?
@shy1st @fangzhengjin why don't we use Maven like jCasbin?
Maven is not as flexible and easy to use as Gradle, i haven't used Maven for a long time.
@hsluoyz Please configure MAVEN_USERNAME and MAVEN_PASSWORD in encrypted secrets.
@fangzhengjin I have finished the configuration.
@hsluoyz Maybe we still need to modify some configuration to move to Maven Central. I want to use maven to replace the gradle.
@fangzhengjin @shy1st I think here are two things:
- Maven Central is the package registry. Bintray will be down. So we will migrate to Maven Central.
- Maven is the package manager tool. Does we have to use Maven to upload to Maven Central? Or Gradle can also be used? Or can we support both?
@fangzhengjin thanks for explanation! Then I think we will use the Gradle + Maven Central combination.
@hsluoyz @fangzhengjin
I want to use maven for the reason that I had configured semantic-release of maven central.
@fangzhengjin if you can setup semantic-release on Gradle finally, I'm OK with both. Or we can keep both Gradle and Maven POM files in the repo. What do you think?