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

Fail the whole process if any of the mid-step pipes fail #238

Merged
merged 2 commits into from
Sep 16, 2022

Conversation

ghostbuster91
Copy link
Contributor

@ghostbuster91 ghostbuster91 commented Apr 18, 2022

This fixes #227

Please note that the sbt-ci-release will still continue if the last process from the chain fails.

In our case:
(s"echo $secret" #|! "base64 --decode" #|! s"gpg $importCommand").!

s"gpg $importCommand" can fail and we won't notice it.

Let me know if you would like me to address that in this PR or in a separate one.

Copy link
Member

@eed3si9n eed3si9n left a comment

Choose a reason for hiding this comment

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

LGTM

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.

sonatype-staging is a not an existing directory
3 participants