Skip to content

A GitHub Action that automatically creates GitHub releases from annotated Git tag messages

License

Notifications You must be signed in to change notification settings

map-renewables/github-release-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Release from Tag

This action automatically creates GitHub releases from annotated Git tag messages.

  • The tag message "subject" (the first line) becomes the release title.
  • The tag message "body" (everything after the first line) becomes the release description.
  • Markdown in the tag message body is supported.
  • The release will be marked as a pre-release unless the tag is a stable SemVer version.
  • Releases will be edited if the tag is updated.

Usage

# .github/workflows/publish-release.yml
name: Publish release
on:
  push:
    tags:
    - '*'
jobs:
  publish:
    runs-on: ubuntu-latest
    name: Publish release
    steps:
    - name: Checkout
      uses: actions/checkout@v2
    - name: Publish release
      uses: eloquent/github-release-action@v1
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

About

A GitHub Action that automatically creates GitHub releases from annotated Git tag messages

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 80.8%
  • Dockerfile 19.2%