Skip to content
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.

GitHub action for tagging a commit

Notifications You must be signed in to change notification settings

moneymeets/action-github-tagger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

action-github-tagger

GitHub action for tagging a commit.

Note: this action is deprecated, because instead of using GitHub API to create tags (which is also possible inline with curl or https://github.com/actions/github-script), it can be re-implemented with two lines of code using git commands in the workflow itself:

- name: Tag
  if: github.event.deployment.environment == 'live'
  run: |
    git config user.name 'Sir Mergealot'
    git config user.email '[email protected]'

    git tag ${{ format('{0}/v{1}', github.event.deployment.environment, steps.heroku_deployment.outputs.release_version) }}
    git push --tags

About

GitHub action for tagging a commit

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •