Skip to content

tj-actions/release-tagger

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

CI Update release version. Public workflows that use this action.

All Contributors

release-tagger

Automatically manage Github action releases by ensuring that a major release is always created or updated to point to the last minor/patch release.

Screen Shot 2022-09-20 at 11 13 54 PM

Usage

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.e v2.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

Inputs

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

If you feel generous and want to show some extra appreciation:

Buy me a coffee

Credits

This package was created with Cookiecutter using cookiecutter-action

Report Bugs

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.

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Raphael Boidol
Raphael Boidol

📖

This project follows the all-contributors specification. Contributions of any kind welcome!