Skip to content

GitHub action for auto creating a release on tag push with conventional changelog

Notifications You must be signed in to change notification settings

Akryum/release-tag

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Repository files navigation

release-tag

This is a fork of actions/create-release with the following changes:

  • Automatically determine whether a tag is a pre-release by checking for presence of - followed by a letter in the tag name.
  • Use changelogen to generate the changelog as release body.

Usage:

name: Create release

# When a tag is pushed, create a release
on:
  push:
    tags:
      - "v*" # Push events to matching v*, i.e. v1.0, v20.15.10

jobs:
  build:
    name: Create Release
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@master
        with:
          fetch-depth: 0 # Fetch all tags

      - name: Create Release for Tag
        id: release_tag
        uses: Akryum/release-tag
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          tag_name: ${{ github.ref }}

About

GitHub action for auto creating a release on tag push with conventional changelog

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%