-
Notifications
You must be signed in to change notification settings - Fork 24
ci: exit with with error code if the build archive script fails #11
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #11 +/- ##
==========================================
- Coverage 62.79% 62.78% -0.02%
==========================================
Files 210 210
Lines 22053 22053
==========================================
- Hits 13849 13845 -4
+ Misses 7128 7127 -1
- Partials 1076 1081 +5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
mwbrooks
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ LGTM! This is a great check that will help prevent corrupt builds from passing 🔒
|
@mwbrooks Thanks for confirming the suspicions and hopes of this PR 🙏 ✨ And also for using a more correct label! I think bug might be best for problems facing developers and since this is an internal fix - |
I was actually typing up a similar suggestion. |
|
@mwbrooks I'm so open to the That's a nice distinction from "test" and "refactor" changes covered with |
|
@mwbrooks I'm quite glad we caught some label strangeness in this PR! I've made updates to use Thanks for a great review as always. I'll merge this now for more sureness in these steps for our next release. |
Summary
This PR adds the
set -ebash command to "exit immediately if a pipeline ... returns a non-zero status".Fixes an issue where uploading missing files as an asset to a release was attempted, but nothing existed and blank bytes were uploaded instead! Erroring seems best in these cases.
Notes
The
set -ooption is included to for a bit more insight into the options being used 🤖 ✨Requirements