feat(release): add CD release pipeline for C++ binaries, PyPI and npm#2
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces automated release workflows and adds new publishable client packages for both Python and Node.js, making it easier to distribute and use the MAVLink2gRPC protocol definitions and client stubs. The main changes include setting up GitHub Actions for building and releasing binaries and language packages, and adding the necessary files for Python and Node.js client libraries.
Release Automation and Packaging
.github/workflows/release.ymlto automate releases for C++ binaries, and to build and publish Python and Node.js packages to PyPI and npm, respectively. This workflow handles building, packaging, and uploading artifacts on new version tags.Node.js Client Package
clients/node:package.jsonto define themavlink2grpc-protonpm package.index.jsto export paths to the protocol buffer definitions for easy consumption.README.mdwith installation and usage instructions for the Node.js client.Python Client Package
clients/python:pyproject.tomlto define themavlink2grpc-protoPyPI package, including dependencies and build configuration.README.mdwith installation and usage instructions for the Python client.These changes streamline the process for users to integrate MAVLink2gRPC into their Python and Node.js projects and ensure that releases are automated and consistent.