-
Notifications
You must be signed in to change notification settings - Fork 17
auto-publish all commits? #93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
do you have a suggested technology in mind that would do this? and/or, are you volunteering? |
How about something like scala/scala-async#209 ? |
That would be coupled with Travis CI configured to build on every master commit. |
I'm guessing your travis config already has the the K and IV secret environment variables per https://docs.travis-ci.com/user/environment-variables/#defining-variables-in-repository-settings |
transferred this issue from the scala-async repo where it was originally raised, since if we were to do this, I think we would want to handle it consistently for all the modules the latest sbt-scala-module version brings in sbt-ci-release and sbt-dynver, so that helps now that we're on sbt-ci-release, perhaps the need for this has lessened. we can publish (except for one manual step, see below) simply by pushing a tag — which is so easy it's not clear that further automation buys much historically we don't do fully automated publishing for any of the modules. most modules are community maintained, but we (the Scala 2 team at Lightbend) retain a final gatekeeping role, in part by dividing the release process as follows: the community maintainer stages the release using sbt-ci-release, then someone from Lightbend has a look and then releases. switching to fully automated publishing is perhaps possible and desirable, but it's another thing to consider. I'm not actually sure if we would need to make some change on the Sonatype end or whether we'd just flip a switch in sbt-ci-release I have no idea if our account on Sonatype has any storage limits — we'd want to be sure about that before publishing a large number of ephemeral version-tagged releases so, the status quo remains: if someone wants to test something, they can either |
Hi,
Rather than manually publishing to a maven repository (there's an open issue asking for 0.10 for a while now), would it be possible to auto-publish on every commit? The version for automatically published artifacts could follow a different scheme like
0.0.$date.$commit
or0.0.$(git rev-list HEAD --count)
if you also want to continue having manual releases.The text was updated successfully, but these errors were encountered: