Skip to content

Add Release pipeline #1

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

Merged
merged 5 commits into from
May 31, 2022
Merged

Add Release pipeline #1

merged 5 commits into from
May 31, 2022

Conversation

umbynos
Copy link
Contributor

@umbynos umbynos commented May 27, 2022

This PR adds the release pipeline that will be used to build avrdude as static as possible for the platforms we need.
The CI does basically 3 things:

  • Pull the upstream repo from avrdudes, patch it, and crosscompile the source code, and prepare the packaging
  • notarize the macOS binary
  • release on GitHub and on download servers, generating the snippet for the package_index.json

This repository contains only the release pipeline and the patches that we need to apply on top of it. I hope that we will be able to upstream them, as soon this PR is merged and the repo gets moved under arduino GitHub organization and made public.

The tag mechanism is a bit peculiar, but IMHO is the best we can do. It should be formatted like this <AVRDUDE_TAG>-arduino.<ARDUINO_VERSION>, an example tag is 7.0-arduino.1. The AVRDUDE_TAG represents the tag avdude tag to checkout, while ARDUINO_VERSION allows us to make some modifications and still be able to release, using the same avrdude tag as a starting point.

An example release can be found here
image

@umbynos umbynos requested a review from per1234 May 27, 2022 16:07
@umbynos umbynos self-assigned this May 27, 2022
@per1234
Copy link
Contributor

per1234 commented May 30, 2022

@umbynos would you mind triggering another test release for the sake of getting an automated validation on the changes made via the PR review suggestions?

@umbynos
Copy link
Contributor Author

umbynos commented May 30, 2022

Copy link
Contributor

@per1234 per1234 left a comment

Choose a reason for hiding this comment

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

Excellent work Umberto. Thanks!

@umbynos umbynos merged commit 1a9c1dd into main May 31, 2022
@umbynos umbynos deleted the release_pipeline branch May 31, 2022 08:59
@umbynos
Copy link
Contributor Author

umbynos commented May 31, 2022

Test release removed

@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants