Switch to Release drafter for creating Github release notes (#490)
* .github: switch back to release-drafter * .github.release-drafter: fix typo
This commit is contained in:
parent
ee5a831e81
commit
9f021f0266
4 changed files with 48 additions and 33 deletions
34
.github/release-drafter.yml
vendored
Normal file
34
.github/release-drafter.yml
vendored
Normal file
|
@ -0,0 +1,34 @@
|
|||
name-template: 'v$RESOLVED_VERSION 🌈'
|
||||
tag-template: 'v$RESOLVED_VERSION'
|
||||
categories:
|
||||
- title: '🚀 Features'
|
||||
labels:
|
||||
- 'feature'
|
||||
- 'enhancement'
|
||||
- title: '🐛 Bug Fixes'
|
||||
labels:
|
||||
- 'fix'
|
||||
- 'bugfix'
|
||||
- 'bug'
|
||||
- title: '🧰 Maintenance'
|
||||
labels:
|
||||
- 'chore'
|
||||
- 'dependencies'
|
||||
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
|
||||
version-resolver:
|
||||
major:
|
||||
labels:
|
||||
- 'major'
|
||||
minor:
|
||||
labels:
|
||||
- 'minor'
|
||||
patch:
|
||||
labels:
|
||||
- 'patch'
|
||||
default: patch
|
||||
exclude-labels:
|
||||
- 'skip-changelog'
|
||||
template: |
|
||||
## Changes
|
||||
|
||||
$CHANGES
|
14
.github/workflows/master-release-draft.yml
vendored
Normal file
14
.github/workflows/master-release-draft.yml
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
name: Update draft release on push to master
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
update_draft_release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: release-drafter/release-drafter@v5.11.0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
8
.github/workflows/maven-build.yml
vendored
8
.github/workflows/maven-build.yml
vendored
|
@ -24,11 +24,3 @@ jobs:
|
|||
java-version: ${{ matrix.java }}
|
||||
- name: build-jar
|
||||
run: mvn -B install
|
||||
- uses: "marvinpinto/action-automatic-releases@latest"
|
||||
with:
|
||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
automatic_release_tag: "latest"
|
||||
prerelease: true
|
||||
title: "Development Build"
|
||||
files: |
|
||||
app/target/thorp-*.jar
|
||||
|
|
25
.github/workflows/release-deploy.yml
vendored
25
.github/workflows/release-deploy.yml
vendored
|
@ -1,25 +0,0 @@
|
|||
name: release-deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v*"
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: kamiazya/setup-graphviz@v1
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up JDK 8
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 8
|
||||
- name: Build with Maven
|
||||
run: mvn -B install
|
||||
- uses: "marvinpinto/action-automatic-releases@latest"
|
||||
with:
|
||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
prerelease: false
|
||||
files: |
|
||||
app/target/thorp-*.jar
|
Loading…
Reference in a new issue