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

Update the Scala version in the generate executable script #448

Merged
merged 1 commit into from
Dec 27, 2024

Conversation

adamnfish
Copy link
Contributor

What does this change?

Since this script includes the hard-coded Scala version, it is essential that this is kept in sync with the Scala version defined in the build.sbt file. We might consider automating this coupling away, but for now I've fixed the reference and added a comment to the build.sbt file so it is less likely these versions drift apart in the future.

What is the value of this?

The generate-executable script is part of the release process, so this ensures that the program can be released.

Any additional notes?

If this becomes tedious in the future then we can automatically extract the scala version from the build.sbt file, or by inspecting the filesystem structure.

Since this script includes the hard-coded Scala version, it is
essential that this is kept in sync with the Scala version defined in
the build.sbt file. We might consider automating this coupling away,
but for now I've fixed the reference and added a comment to the
build.sbt file so it is less likely these versions drift apart in the
future.
@adamnfish adamnfish requested a review from akash1810 December 27, 2024 08:54
@adamnfish adamnfish merged commit a3ad261 into main Dec 27, 2024
1 check passed
@adamnfish adamnfish deleted the update-scala-version-in-generation-script branch December 27, 2024 09:13
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

Successfully merging this pull request may close these issues.

2 participants