Skip to content

fabricepipart/github-tag-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-tag-action

A Github Action to automatically bump and tag master, on merge, with the latest semver formatted version.

Usage

name: Bump version
on:
  push:
    branches:
      - master
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - name: Bump version and push tag
      uses: anothrNick/github-tag-action@master
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        REPO_OWNER: anothrNick

Be sure to set the REPO_OWNER environment variable so that the action tags your repo.

NOTE: This creates a lightweight tag

Credits

fsaintjacques/semver-tool

About

A Github Action to tag a repo on merge.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 94.7%
  • Dockerfile 5.3%