Comcast / mamba

Mamba is a Swift iOS, tvOS and macOS framework to parse, validate and write HTTP Live Streaming (HLS) data.
Apache License 2.0
182 stars 40 forks source link

Adding actions for generating and publishing a release #147

Open rmigneco opened 1 week ago

rmigneco commented 1 week ago

Description

Note: this pull request is based on cherry-picked commit from https://github.com/Comcast/mamba/pull/139 but with develop as the base branch

The generate-release action is a manual dispatch action that takes the version number as an input, and depending on the major version, will checkout either main or main_1.x, then merge either develop or develop_1.x into it, bump all the version strings in the repo, and raise a PR against main or main_1.x.

The publish-release action runs on merge to main or main_1.x and reads the version from the version.txt file to determine the release tag it should publish, then publishes that release.

Change Notes

Pre-submission Checklist