Skip to content

Commit

Permalink
ci: Add release creation workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
krille-chan committed Nov 11, 2023
1 parent f39851f commit 4a0ed8c
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/process_tag.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
on:
push:
tags:
- "v*"
- "rc*"

name: Process Tags

jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get Changelog Entry
id: changelog_reader
uses: mindsers/changelog-reader-action@v2
with:
validation_level: warn
version: ${{ github.ref }}
path: ./CHANGELOG.md
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: ${{ steps.changelog_reader.outputs.changes }}
draft: false
prerelease: ${{ startsWith(github.ref, 'rc') }}

0 comments on commit 4a0ed8c

Please sign in to comment.