Skip to content

Tagging suggestions

Tagging suggestions #9

Workflow file for this run

name: Create Release
on:
push:
branches:
- 'releases/**'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Extract branch name
id: extract_branch
run: echo "::set-output name=BRANCH_NAME::$(echo ${GITHUB_REF#refs/heads/} | cut -d'/' -f2)"
- name: Checkout repository
uses: actions/checkout@v2
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH_NAME: ${{ steps.extract_branch.outputs.BRANCH_NAME }}
with:
tag_name: ${{ env.BRANCH_NAME }}
release_name: ${{ env.BRANCH_NAME }}
body: |
${{ github.event.head_commit.message }}
draft: false
prerelease: false