Skip to content
tag

GitHub Action

Gem auto-tag

v1 Latest version

Gem auto-tag

tag

Gem auto-tag

Creates a tag with version from your .gemspec file

Installation

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

              

- name: Gem auto-tag

uses: duderman/gh-gem-tag-action@v1

Learn more about this action in duderman/gh-gem-tag-action

Choose a version

Gem auto-tag docker action

This action tags a commit with a version from your .gemspec file

Inputs

github_token

Required GitHub token with permissions to create tags and read commits

tag_prefix

Tag prefix. F.e. if tag_prefix set to v and current version is 0.1 then the action will create a tag v0.1

Outputs

tag

Created tag name

url

GitHub URL of the created tag

Example usage

uses: duderman/gh-gem-tag-action@v1
with:
  github_token: ${{ secrets.GITHUB_TOKEN }}
  tag_prefix: v