Skip to content

Commit

Permalink
add release-drafter action
Browse files Browse the repository at this point in the history
  • Loading branch information
jvmncs committed Jul 21, 2022
1 parent 10a0068 commit d6b12b6
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 10 deletions.
19 changes: 19 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'

version-resolver:
major:
labels:
- 'major'
minor:
labels:
- 'minor'
patch:
labels:
- 'patch'
default: patch

template: |
## What's Changed
$CHANGES
20 changes: 10 additions & 10 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,16 +120,16 @@ jobs:
name: wheels
path: dist

# update_release_draft:
# permissions:
# contents: write
# runs-on: ubuntu-latest
# steps:
# - uses: release-drafter/release-drafter@v5
# with:
# disable-autolabeler: true
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
update_release_draft:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
with:
disable-autolabeler: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# release:
# name: Release
Expand Down

0 comments on commit d6b12b6

Please sign in to comment.