recast-hep / recast-atlas

CLI for ATLAS RECAST contributors
https://recast.docs.cern.ch/
Apache License 2.0
5 stars 5 forks source link

ci: Add a bump version workflow to automate release tagging #68

Closed matthewfeickert closed 2 years ago

matthewfeickert commented 2 years ago

This PR adds a GitHub Actions workflow that runs on demand with workflow_dispatch that will generate a new Git tag from master given the Semver part (major, minor, patch) that is typed in (any other choice will cause the workflow to fail). The workflow uses a GitHub Personal Access Token (saved under the project's Actions secrets as ACCESS_TOKEN) to push back to the project and trigger other workflows on the successful tag.

The PR also adds information on how to use the GitHub Action to make a tag for a release, but keeps information on how to do the same while running locally.

matthewfeickert commented 2 years ago

@lukasheinrich this is ready for review.

When implemented on my fork it looks like this:

example

lukasheinrich commented 2 years ago

Thanks @matthewfeickert !