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

Refactor macOS notarization and signing setup #3352

Merged
merged 1 commit into from
Aug 23, 2024

Conversation

ann0see
Copy link
Member

@ann0see ann0see commented Aug 22, 2024

Short description of changes

Gets rid of notarization action, streamlines autobuild and adds documentation to signing setup.

CHANGELOG: Autobuild: Use notarytool instead of action for macOS notarization

Context: Fixes an issue?

Supersedes: #3348

Does this change need documentation? What needs to be documented and how?

Includes documentation.

Status of this Pull Request

Ready for review

What is missing until this pull request can be merged?

Review

Checklist

  • I've verified that this Pull Request follows the general code principles
  • I tested my code and it does what I want (together with other PRs)
  • My code follows the style guide
  • I waited some time after this Pull Request was opened and all GitHub checks completed without errors.
  • I've filled all the content above

@ann0see
Copy link
Member Author

ann0see commented Aug 22, 2024

Removes the need to merge #3263

.github/autobuild/mac.sh Outdated Show resolved Hide resolved
@@ -436,20 +437,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

## RELEASE PROCEDURE FOR: macOS App Store - storesigned pkg
Copy link
Member Author

Choose a reason for hiding this comment

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

Seems as if notarization is not needed for app store submission - at least it fails. Therefore, removing this.

uses: BoundfoxStudios/action-xcode-staple@cd6c16fb6a3dfb365203a41343926f81e813afad
with:
product-path: deploy/${{ steps.get-artifacts.outputs.artifact_1 }}
run: ${{ matrix.config.base_command }} staple
Copy link
Member Author

Choose a reason for hiding this comment

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

Moved away from action for stapling since it's just two lines of code in the bash script.

Copy link
Member Author

@ann0see ann0see left a comment

Choose a reason for hiding this comment

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

See changes!

Copy link
Member

@softins softins left a comment

Choose a reason for hiding this comment

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

I obviously can't test it, but the changes look sensible.

@ann0see ann0see merged commit f4e0332 into jamulussoftware:main Aug 23, 2024
15 checks passed
@ann0see ann0see deleted the autobuild/refactorMacNot branch August 23, 2024 17:22
@ann0see
Copy link
Member Author

ann0see commented Aug 24, 2024

I've removed some unused actions from the whitelist at https://github.com/jamulussoftware/jamulus/settings/actions now e.g. the one for stapling. Please rebase all open PRs.

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants