Allow keeping the result of an artifact build without cleaning it up #115
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Addresses #109.
I had to fix two bugs while working on this:
composer.composer
property)artifact-resetState
target was failing on some of the cleanup<exec>
statementsOther than that, this changes the artifact build process so that instead of prompting the user with
Push artifact changes to the '${artifact.git.remote_branch}' branch? y,n
, it offers this prompt:This defaults to pushing if you hit enter.
push
pushes the artifact to the remotekeep
doesn't push, but leaves the generated artifact in place so that you can examine itdiscard
reverts to the previous version of the artifact