Skip to content

Draft Release Notes #520

Draft Release Notes

Draft Release Notes #520

Workflow file for this run

name: Draft Release Notes
on: create
jobs:
release_draft:
if: github.ref == 'refs/heads/release/'
name: Create a new release
runs-on: ubuntu-latest
steps:
- name: Checkout codebase
uses: actions/checkout@v2
with:
fetch-depth: 2
- name: Detect new tag version from pom.xml
id: package-version-prod-impl
uses: salsify/action-detect-and-tag-new-version@68bbe8670f415d304e02942186441939c4692aa6 # [email protected]
with:
version-command: |
mvn org.apache.maven.plugins:maven-help-plugin:3.4.0:evaluate -Dexpression=project.version | grep -v '\['
- name: Draft release notes
uses: release-drafter/release-drafter@06d4616a80cd7c09ea3cf12214165ad6c1859e67 #v5.11
with:
config-name: release-draft.yml
version: v${{ steps.package-version.outputs.current-version }}
tag: v${{ steps.package-version.outputs.current-version }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}