Skip to content
tag

GitHub Action

Action release tagger

v4 Latest version

Action release tagger

tag

Action release tagger

Automatically manage action releases

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Action release tagger

uses: tj-actions/release-tagger@v4

Learn more about this action in tj-actions/release-tagger

Choose a version

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!