You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an SBT project and a CD pipeline and what I want is to execute the following sequence of events:
Checkout my project from the git repo
Tag the commit
Run the tests
Package my app
Now at this point I don't want to release anything yet as I will promote the binaries to another environment to run the end-to-end tests. Only if they complete successfully would I want to push the git tags and upload my artefact to the remote artefactory repository. So I want something similar to this in my build.sbt but I'm not quite sure how exactly to extend the existing release process:
What I want to achieve really is to be able to first run sbt prepereRelease after which I will promote to my TEST environment and later, if everything goes ok, to run sbt doRelease.
Is there a way to achieve this atm?
The text was updated successfully, but these errors were encountered:
What I ended up doing it is creating two custom commands and appending the releaseProcess setting to the state object which I then pass onto the release plugin. Not sure if there's a better way of doing the same thing:
I have an SBT project and a CD pipeline and what I want is to execute the following sequence of events:
What I want to achieve really is to be able to first run sbt prepereRelease after which I will promote to my TEST environment and later, if everything goes ok, to run sbt doRelease.
Is there a way to achieve this atm?
The text was updated successfully, but these errors were encountered: