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

Allow publishing bridge for a single version #2822

Merged
merged 2 commits into from
Oct 5, 2023

Conversation

lolgab
Copy link
Member

@lolgab lolgab commented Oct 5, 2023

Releasing a new version of the bridge just for adding a Scala version is wasteful.
We can publish the bridge just for the new version (in our case 2.13.12) without tagging a 0.0.2.
This PR adds a bridge_versions input to the workflow_dispatch which can be all for the current behavior or a comma separated list of Scala versions. This way we can release the current bridge for Scala 2.13.12 and then add 2.13.12 to the list of supported bridges in a later PR.

@lolgab lolgab force-pushed the allow-single-bridge-publishing branch from ca092ad to a4e2b1b Compare October 5, 2023 09:05
@lolgab lolgab marked this pull request as ready for review October 5, 2023 09:06
@lolgab lolgab requested review from lefou and lihaoyi and removed request for lefou October 5, 2023 09:06
Copy link
Member

@lefou lefou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea. I wasn't aware, that we can request input when starting a workflow_dispatch job.

build.sc Outdated
val compilerBridgeScalaVersions = interp.watchValue(sys.env.get("MILL_COMPILER_BRIDGE_VERSIONS")) match {
case None => Seq.empty[String]
case Some("all") => bridgeScalaVersions
case Some(versions) => versions.split(',').toSeq
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd add a .map(_.trim), just to be sure.

@lolgab lolgab requested a review from lefou October 5, 2023 19:55
@lolgab lolgab merged commit ff5335e into com-lihaoyi:main Oct 5, 2023
37 checks passed
@lolgab lolgab deleted the allow-single-bridge-publishing branch October 5, 2023 20:03
@lefou lefou added this to the 0.11.6 milestone Oct 5, 2023
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.

None yet

2 participants