Skip to content

chore: bump version #39

chore: bump version

chore: bump version #39

Workflow file for this run

name: Publish Release
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Generate a changelog
uses: orhun/git-cliff-action@v2
id: changelog
with:
args: --latest --strip all
env:
OUTPUT: CHANGES.md
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Create a Release
run: hub release create -m "${{ env.RELEASE_VERSION }}" -m "${{ steps.changelog.outputs.content }}" "${{ env.RELEASE_VERSION }}"
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}