8000 GitHub - rhasspy/rhasspy-tag-action
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

rhasspy/rhasspy-tag-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rhasspy-tag-action

A Github Action to automatically tag a commit whenever the semper version in the file VERSION gets incremented

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: rhasspy/rhasspy-tag-action@master
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      id: bump_tag
    - name: update packages
      if: steps.bump_tag.outputs.new_tag
      run: <package-new-version-and-deploy>

Options

Environment Variables

  • GITHUB_TOKEN (required) - Required for permission to tag the repo.

Outputs

outputs:

  • new_tag - The new tag (only set when a new tag is added)
  • current_version - The latest version after running this action

Note: This action creates a lightweight tag.

Workflow

  • Add this action to your repo
  • Commit some changes
  • When the version in VERSION gets incremented, the action will push an updated tag to github

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0