diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 0000000..4991290 --- /dev/null +++ b/.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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..bd30fc5 --- /dev/null +++ b/.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}}