Automatically manage Github action releases by ensuring that a major release is always created or updated to point to the last minor/patch release.
Important
- Any single major version release decription would be overwritten by this action (i.e v2). In order to preserve the single major version release description you'll need to create a semantic version. (i.ev2.0.0)
name: Tag release
on:
  push:
    tags:
      - v*
jobs:
  test:
    runs-on: ubuntu-latest
    name: Create or update major release tag
    steps:
      - uses: actions/checkout@v4
      - name: Run release-tagger
        uses: tj-actions/release-tagger@v4| INPUT | TYPE | REQUIRED | DEFAULT | DESCRIPTION | 
|---|---|---|---|---|
| gh_token | string | false | "${{ github.token }}" | Github CLI token | 
| release_notes_file | string | true | "RELEASE_NOTES.md" | File to write release notes to | 
| token | string | false | "${{ github.token }}" | GITHUB_TOKEN or a repo scoped Personal Access Token | 
- Free software: MIT license
If you feel generous and want to show some extra appreciation:
This package was created with Cookiecutter using cookiecutter-action
Report bugs at https://github.com/tj-actions/release-tagger/issues.
If you are reporting a bug, please include:
- Your operating system name and version.
- Any details about your workflow that might be helpful in troubleshooting.
- Detailed steps to reproduce the bug.
Thanks goes to these wonderful people (emoji key):
| Raphael Boidol 📖 | 
This project follows the all-contributors specification. Contributions of any kind welcome!