Skip to content

Commit 547adcd

Browse files
committed
build: attempt to configure release drafter
- it should ignore releases from different branches (i.e. `release`) - it should mark as latest only releases from `master` branch
1 parent 0a19ff9 commit 547adcd

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/release-drafter.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ tag-template: 'v$RESOLVED_VERSION'
33
latest: 'true'
44

55
prerelease: true
6-
prerelease-identifier: 'alpha'
6+
prerelease-identifier: 'beta'
77
categories:
88
- title: '⁉️ Breaking changes'
99
labels:
@@ -30,6 +30,7 @@ autolabeler:
3030
- '/^fix(\(.*\))?:/'
3131
change-template: '- $TITLE @$AUTHOR (#$NUMBER)<br/>$BODY'
3232
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
33+
filter-by-commitish: true
3334

3435
template: |
3536
## What’s Changed

.github/workflows/ci-master.yml

+1
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ jobs:
103103
with:
104104
version: ${{ steps.release_version.outputs.version }}
105105
publish: true
106+
latest: ${{ github.ref_name == 'master' && 'true' || 'legacy' }}
106107

107108
- name: Upload dist.zip to release
108109
uses: actions/upload-release-asset@64e5e85fc528f162d7ba7ce2d15a3bb67efb3d80 # v1.0.1

0 commit comments

Comments
 (0)