You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Release Tag
v3.0.0
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 conventional-changelog 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@conventional
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
preset: angular # Use conventional-changelog preset
Possible values for preset
: 'angular', 'atom', 'codemirror', 'ember', 'eslint', 'express', 'jquery', 'jshint'
.