-
-
Notifications
You must be signed in to change notification settings - Fork 0
Add CI workflow to publish releases #4
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
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.
I did a test run in my fork with a certificate from my personal Apple developer program account and it worked perfectly:
https://github.com/per1234/cslt-tool/releases/tag/0.0.2
I suggest that we finalize the decision of the naming and location of these files in the arduino/tooling-project-assets
repo before merging this, so that the reference URLs and file names of the files added here will be synced with the parent copies when those are added to that repo.
1c30378
to
cf74419
Compare
Rebased to include #13 |
On every push of a tag named with a version format: - Build the project for all supported platforms. - Sign and notarize the macOS build. - Create a GitHub release. - Builds and checksums are attached as release assets - A changelog generated from the commit history is added to the release description - If the tag has a pre-release version suffix, the GitHub release will be marked as a pre-release.
63732c6
to
52a3736
Compare
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.
I suggest renaming release-go-crosscompile-task.yaml
to release-go-crosscompile-task.yml
.
Either is perfectly valid, and perhaps .yaml
is even more "official", but the GitHub Actions documentation and the assets all use .yml
, and the other two YAML files added also use .yml
, so I think in this case .yml
is better.
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.
Since the automated system is in place ready to give itself a validation, I did another fake release in my fork and all is well:
- https://github.com/per1234/cslt-tool/actions/runs/1750488954
- https://github.com/per1234/cslt-tool/releases/tag/0.0.3
Thanks Umberto!
The release is failing because of the format of the |
Fixed |
On every push of a tag named with a version format:
arduino/create-changelog
from the commit history is added to the release description