Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GitHub automatic release #173

Merged
merged 1 commit into from Apr 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/release.yml
@@ -0,0 +1,26 @@
changelog:
categories:
- title: NOTES
labels:
- note
- documentation
- title: FEATURES
labels:
- feature
- title: ENHANCEMENTS
labels:
- enhancement
- documentation
- title: BUG FIXES
labels:
- bug
- title: INTERNAL
labels:
- dependencies
- "*"
exclude:
labels:
- duplicate
- wontfix
- question
- invalid
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
@@ -0,0 +1,20 @@
name: Publish GitHub Release

permissions:
contents: write # for creating a release and uploading release artifacts

on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'

jobs:
release:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
- name: GH Release
run: |
gh release create "${GITHUB_REF#refs/tags/}" --generate-notes
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}