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
Automatically publish mtags for Scala 3 RCs ? #269
Comments
Thanks for reporting! @dos65 could the current action also detect new RC aside from nightlies? Maybe always release for the last RC? |
Good idea! It shouldn't be hard to do the same thing for non-nightly versions too. |
I'm still interested in this feature and I'd be happy to help with the implementation if someone can point me to the relevant pieces of infrastructure that would need to be updated. |
@smarter There is a command in sbt that prepares a list of version for backpublish - https://github.com/scalameta/metals/blob/311d73ac50ea3b22fdd438df52c23747f4bae006/build.sbt#L152-L156 This is one is called from a scheduled workflow. Currently it's sheduled once a day. Also, there is also an alternative solution. RC has some release process that includes manual actions. |
That's interesting, even better would be if the dotty release action could call the mtags release action, this seems like it could be possible if metals made a reusable workflow: https://docs.github.com/en/actions/using-workflows/reusing-workflows, wdyt? |
Actually I realize that this probably wouldn't work since we need to wait for sonatype to publish the release, so maybe the once-a-day check is good enough? |
I don't know. Usually, after I see a notification from Scala-Contirbutors after RC release I call this action manually from UI.
I just realized that maybe we can do an action in dotty. Would it fit for scala3-team workflow? Or do you switch scalaVersion in repo before publishing release? |
I don't know exactly when the release event is triggered in our RC release process, I think @Kordyjan should be able to tell us more. |
Sorry for forgetting about that. |
Is your feature request related to a problem? Please describe.
mtags is now automatically published for the last few Scala 3 nightlies which is useful for testing, but it looks like support for new Scala 3 RCs is still added manually. Having it done automatically would be really helpful for people who work on the Scala 3 compiler, because we always set the scalaVersion in our build to the latest RC in order to dogfood it.
Describe the solution you'd like
Extend the current mechanism that publishes mtags for the latest nightlies to also include RCs.
Describe alternatives you've considered
Change the release procedure of Scala 3 RCs to also include making a PR to metals adding the RC?
Additional contex
No response
Search terms
dotty
The text was updated successfully, but these errors were encountered: