From 49472dfb5192a0728ee29714d512510848822443 Mon Sep 17 00:00:00 2001 From: Oleg Kovalov Date: Wed, 5 Feb 2020 10:41:16 +0100 Subject: [PATCH] add automatic releases (#29) --- .github/release-drafter.yml | 22 ++++++++++++++++++++++ .github/workflows/release-management.yml | 16 ++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 .github/release-drafter.yml create mode 100644 .github/workflows/release-management.yml diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 0000000..d10b85f --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,22 @@ +# See: https://github.com/marketplace/actions/release-drafter + +name-template: "v$NEXT_PATCH_VERSION" +tag-template: "v$NEXT_PATCH_VERSION" +categories: + - title: "Features" + labels: + - "feature" + - title: "Bug Fixes" + labels: + - "fix" + - "bugfix" + - "bug" + - title: "Maintenance" + labels: + - "task" + - "documentation" +change-template: "- $TITLE @$AUTHOR (#$NUMBER)" +template: | + ## Changes + + $CHANGES diff --git a/.github/workflows/release-management.yml b/.github/workflows/release-management.yml new file mode 100644 index 0000000..83d8d98 --- /dev/null +++ b/.github/workflows/release-management.yml @@ -0,0 +1,16 @@ +name: Release Management + +on: + push: + # branches to consider in the event; optional, defaults to all + branches: + - master + +jobs: + update_draft_release: + runs-on: ubuntu-latest + steps: + # Drafts your next Release notes as Pull Requests are merged into "master" + - uses: toolmantim/release-drafter@v5.2.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}