From 8adcecd4d005d57a9f2457de140f9741f4cbf560 Mon Sep 17 00:00:00 2001 From: Carroll Chiou Date: Wed, 2 Jun 2021 21:53:45 -0600 Subject: [PATCH] enable release-drafter (#138) --- .github/release-drafter.yml | 3 +++ .github/workflows/release-drafter.yml | 16 ++++++++++++++++ CHANGELOG.md | 2 ++ README.md | 6 +----- 4 files changed, 22 insertions(+), 5 deletions(-) create mode 100644 .github/release-drafter.yml create mode 100644 .github/workflows/release-drafter.yml diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 00000000..b34da292 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,3 @@ +_extends: .github +name-template: v$NEXT_MINOR_VERSION 🌈 +tag-template: durable-task-$NEXT_MINOR_VERSION diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 00000000..f7001c33 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,16 @@ +# Automates creation of Release Drafts using Release Drafter +# More Info: https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.adoc + +on: + push: + branches: + - master + +jobs: + update_release_draft: + runs-on: ubuntu-latest + steps: + # Drafts your next Release notes as Pull Requests are merged into "master" + - uses: release-drafter/release-drafter@v5.15.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index af6f5ba7..a2ad75a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ ## Changelog +* For newer versions, see [GitHub Releases](https://github.com/jenkinsci/durable-task-plugin/releases) + ### Version 1.36 Release date: 2021-05-04 diff --git a/README.md b/README.md index c56b0058..d83078ac 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,6 @@ Durable Task Plugin === -[![Jenkins Plugin](https://img.shields.io/jenkins/plugin/v/durable-task)](https://plugins.jenkins.io/durable-task) -[![Changelog](https://img.shields.io/github/v/tag/jenkinsci/durable-task-plugin?label=changelog)](https://github.com/jenkinsci/durable-task-plugin/blob/master/CHANGELOG.md) -[![Jenkins Plugin Installs](https://img.shields.io/jenkins/plugin/i/durable-task?color=blue)](https://plugins.jenkins.io/durable-task) - Library offering an extension point for processes which can run outside of Jenkins yet be monitored. @@ -13,7 +9,7 @@ plugins. ## Documentation -* [Changelog](https://github.com/jenkinsci/durable-task-plugin/blob/master/CHANGELOG.md) +* [Changelog](https://github.com/jenkinsci/durable-task-plugin/releases) * [Example](https://github.com/jenkinsci/workflow-durable-task-step-plugin) * [Blog post](https://web.archive.org/web/20141227025217/http://tupilabs.com/2014/06/13/durable-tasks-in-jenkins.html)