Skip to content

chore: update release workflow to use double quotes for tag regex and… #2

chore: update release workflow to use double quotes for tag regex and…

chore: update release workflow to use double quotes for tag regex and… #2

Workflow file for this run

name: "Release"
on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+"
jobs:
release:
name: Release
runs-on: macos-latest
steps:
- name: Update CHANGELOG
id: changelog
uses: requarks/changelog-action@v1
with:
token: ${{ github.token }}
tag: ${{ github.ref_name }}
- name: Commit CHANGELOG.md
uses: stefanzweifel/git-auto-commit-action@v6
with:
branch: main
commit_message: "docs: update CHANGELOG.md for ${{ github.ref_name }} [skip ci]"
file_pattern: CHANGELOG.md
- name: Create GitHub Release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v2
with:
name: "v.${{ github.ref_name }}"
draft: true
generate_release_notes: true