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

How to automate releasing for Scala.js 0.6 and 1.0 #263

Open
exoego opened this issue Jan 10, 2020 · 0 comments
Open

How to automate releasing for Scala.js 0.6 and 1.0 #263

exoego opened this issue Jan 10, 2020 · 0 comments

Comments

@exoego
Copy link

exoego commented Jan 10, 2020

In Scala.js, for cross-publishng to 0.6.x and 1.0.0-RC, it is common practice to use system env virable to switch Scala.js plugin version.
One example can be found on circe.

For Scala.js cross-publishing, one will performe the steps like below:

  1. Set system env to 0.6.31
  2. Start sbt
  3. Release to 0.6.31
  4. Shutdown sbt
  5. Start sbt
  6. Set system env to 1.0.0-RC1
  7. Release to 1.0.0-RC1
  8. Shutdown sbt

Any idea to automate such process in single releaseProcess settings?
My understanding is that it is impossible because sbt can use/switch multiple version of scala-js sbt plugin in single instance.

@exoego exoego changed the title How to automate multiple releases with different env variables Jan 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant