debricked / cli

Debricked's command line interface. It brings open source security, compliance and health to your project via the command prompt.
MIT License
19 stars 8 forks source link

Maintain major release tags #230

Closed zozs closed 2 months ago

zozs commented 2 months ago

This will maintain branches release-v1 (and in the future release-v2) that always point to the latest patch release of the same major version.

For every v1.x.y tag, it will force push to a new or existing release-v1 tag, and update the release assets for a "Latest v1 release" Github release to be the same cli assets as the latest v1.x.y tag.

Will also work automatically when we start new tags with 2.x.y (it will then create a release-v2 tag and a "Latest v2 release".

This allows customers and our actions to always download assets from the latest CLI release within a specific major release, using:

curl -L https://github.com/debricked/cli/releases/download/release-v1/cli_linux_x86_64.tar.gz | tar -xz debricked
github-actions[bot] commented 2 months ago

CodeScene PR Check

Code Health Quality Gates: OK

View detailed results in CodeScene

sweoggy commented 2 months ago

Amazing work, thanks!