Skip to content

feature(ci): add release github actions #1

feature(ci): add release github actions

feature(ci): add release github actions #1

Workflow file for this run

name: "Release"
permissions:
contents: write
on:
push:
tags:
- "v*"
jobs:
tag:
runs-on: ubuntu-latest
outputs:
version: ${{ steps.version_tag.outputs.tag }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Get Tag
if: startsWith(github.ref, 'refs/tags/v')
uses: olegtarasov/[email protected]
id: version_tag
with:
tagRegex: "v(.*)"
release:
runs-on: ubuntu-latest
needs: tag
steps:
- name: Release
uses: softprops/action-gh-release@v2
id: release
with:
make_latest: true
name: "v${{ needs.tag.outputs.version }}"
tag_name: "v${{ needs.tag.outputs.version }}"
generate_release_notes: true
append_body: true
prerelease: false
fail_on_unmatched_files: true
- name: "Generate release changelog"
uses: heinrichreimer/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
author: true
releaseUrl: ${{ steps.release.outputs.url }}
<<<<<<< HEAD

Check failure on line 47 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

You have an error in your yaml syntax on line 47
issues: true
=======
issues: false
>>>>>>> d34657b4 (feature(ci): add release github actions)
pullRequests: true
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Update CHANGELOG.md"
branch: v1.3.x
commit_options: '--no-verify --signoff'
file_pattern: CHANGELOG.md