Skip to content
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

Automate the release on a new Scala version #10

Open
adpi2 opened this issue Feb 13, 2024 · 0 comments
Open

Automate the release on a new Scala version #10

adpi2 opened this issue Feb 13, 2024 · 0 comments

Comments

@adpi2
Copy link

adpi2 commented Feb 13, 2024

Because sbt depends on eval, we need to release it each time we want to update the Scala version in sbt. I assume eval is released manually. I wish we could automate it using a Github workflow.

Something like this should work:

  1. Add a workflow to manually trigger a release of eval
  2. Add Scala version as an input of the workflow
  3. Use a environment variable to change the Scala version in the build:
ThisBuild / scalaVersion := Option(System.getenv("SCALA_VERSION")).getOrElse("3.3.1")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant