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

feat: Add osxSign.continueOnError option #1579

Merged
merged 3 commits into from
Oct 26, 2023

Conversation

futpib
Copy link
Contributor

@futpib futpib commented Oct 19, 2023

  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project follows, as appropriate.
  • The changes are appropriately documented (if applicable).
  • The changes have sufficient test coverage (if applicable).
  • The testsuite passes successfully on my local machine (if applicable).

Summarize your changes:

Currently there is no way to know that signing on osx failed other than reading the output. This adds an option continueOnError (defaults to current behavior, true) one can set to fail the build if there was an error while signing the app.

@welcome
Copy link

welcome bot commented Oct 19, 2023

Thanks for opening a pull request!

Here are some highlighted action items that will help get it across the finish line, from the
pull request guidelines:

  • Follow the JavaScript coding style.
  • Run npm run lint locally to catch formatting errors earlier.
  • Document any user-facing changes in NEWS.md and other docs.
  • Include tests when adding/changing behavior.

Development and triage is community-driven, so please be patient and we will get back to you as soon as we can.

@futpib futpib requested a review from a team as a code owner October 19, 2023 15:43
@futpib futpib force-pushed the osxSign-continueOnError branch from 793c041 to 037a77b Compare October 21, 2023 13:05
@codecov
Copy link

codecov bot commented Oct 21, 2023

Codecov Report

Merging #1579 (f02a73f) into main (2efd96d) will increase coverage by 0.14%.
Report is 1 commits behind head on main.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1579      +/-   ##
==========================================
+ Coverage   95.58%   95.73%   +0.14%     
==========================================
  Files          15       15              
  Lines         793      797       +4     
==========================================
+ Hits          758      763       +5     
+ Misses         35       34       -1     
Files Coverage Δ
src/mac.js 100.00% <100.00%> (+0.58%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@futpib futpib force-pushed the osxSign-continueOnError branch 2 times, most recently from 8567d21 to 454a530 Compare October 21, 2023 15:42
@futpib futpib force-pushed the osxSign-continueOnError branch from 454a530 to 646279f Compare October 21, 2023 15:43
@futpib futpib changed the title Add osxSign.continueOnError option feat: Add osxSign.continueOnError option Oct 21, 2023
Copy link
Member

@BlackHole1 BlackHole1 left a comment

Choose a reason for hiding this comment

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

LGTM

@BlackHole1 BlackHole1 merged commit 4543f8a into electron:main Oct 26, 2023
5 checks passed
@welcome
Copy link

welcome bot commented Oct 26, 2023

Thanks for your contribution! 🎉

Copy link

🎉 This PR is included in version 18.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants