Skip to content

Commit

Permalink
Added Release note drafter
Browse files Browse the repository at this point in the history
  • Loading branch information
matt2005 committed Sep 7, 2022
1 parent 7b57527 commit 8b94c67
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 49 deletions.
39 changes: 30 additions & 9 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,32 @@
name-template: 'Crankshaft OpenCarOS NG v$RESOLVED_VERSION 🌈'
tag-template: 'v$RESOLVED_VERSION'
prerelease: true
categories:
- title: '🚀 Features'
labels:
- 'feature'
- 'enhancement'
- title: '🐛 Bug Fixes'
labels:
- 'fix'
- 'bugfix'
- 'bug'
- title: '🧰 Maintenance'
label: 'chore'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
version-resolver:
major:
labels:
- 'major'
minor:
labels:
- 'minor'
patch:
labels:
- 'patch'
default: patch
template: |
## Hardware configurations
## Changes
## Fixes
$CHANGES
## Enhancements
- None
## AASDK/OpenAuto
- None
$CHANGES
11 changes: 4 additions & 7 deletions .github/workflows/crankshaft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,16 +158,13 @@ jobs:
runs-on: ubuntu-latest
steps:
-
name: Create Release
name: Create GitHub release
id: create_release
uses: actions/[email protected]
uses: release-drafter/release-drafter@v5
inputs:
version: ${{needs.version.outputs.version }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: "Crankshaft OpenCarOS NG ${{ needs.buildimage.outputs.version }} ${{ needs.buildimage.outputs.builddate }}"
draft: true
prerelease: true
-
name: Download artifact
uses: actions/download-artifact@v2
Expand Down
32 changes: 0 additions & 32 deletions .github/workflows/releasecfg/configuration.json

This file was deleted.

2 changes: 1 addition & 1 deletion prebuilts

0 comments on commit 8b94c67

Please sign in to comment.