fluffychat/.github/workflows/process_tags.yaml

29 lines
701 B
YAML
Raw Normal View History

2023-11-11 15:31:37 +00:00
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
- 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') }}