Skip to content

Commit fabc9ab

Browse files
committed
Merge branch 'master' into chore/automate-changelog-and-releases
2 parents 36b947f + 3db08b2 commit fabc9ab

File tree

4 files changed

+82
-20
lines changed

4 files changed

+82
-20
lines changed

.github/release-drafter.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name-template: '$RESOLVED_VERSION'
2+
tag-template: '$RESOLVED_VERSION'
3+
categories:
4+
- title: '🔥 Breaking'
5+
labels:
6+
- 'breaking'
7+
- title: '🚀 Features'
8+
labels:
9+
- 'feature'
10+
- 'enhancement'
11+
- title: '🐛 Bug Fixes'
12+
labels:
13+
- 'fix'
14+
- 'bugfix'
15+
- 'bug'
16+
- title: '🧰 Maintenance'
17+
labels:
18+
- 'chore'
19+
- 'infra'
20+
- title: '🧪 Experimental'
21+
labels:
22+
- 'experimental'
23+
exclude-labels:
24+
- 'skip-changelog'
25+
change-template: '- (#$NUMBER) $TITLE - (thanks to @$AUTHOR)'
26+
change-title-escapes: '\<*_&#@'
27+
version-resolver:
28+
major:
29+
labels:
30+
- 'major'
31+
minor:
32+
labels:
33+
- 'minor'
34+
patch:
35+
labels:
36+
- 'patch'
37+
default: patch
38+
template: |
39+
## Changes
40+
41+
$CHANGES
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Automates creation of Release Drafts using Release Drafter
2+
# More Info: https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.adoc
3+
name: Release Drafter
4+
5+
on:
6+
workflow_dispatch:
7+
push:
8+
branches:
9+
- develop
10+
11+
jobs:
12+
update_release_draft:
13+
if: github.repository_owner == 'insideapp-oss'
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: release-drafter/[email protected]
17+
env:
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Update CHANGELOG.md
2+
on:
3+
release:
4+
types: [published]
5+
6+
jobs:
7+
update-changelog:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/[email protected]
11+
- name: Update changelog
12+
run: |
13+
npm install github-release-notes
14+
export GREN_GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
15+
npm run overrideChangelog
16+
- name: Create Pull Request
17+
uses: peter-evans/[email protected]
18+
with:
19+
commit-message: Update changelog
20+
title: Update Changelog
21+
body: Update changelog to reflect release changes
22+
branch: update-changelog
23+
base: master

CHANGELOG.md

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,3 @@
1-
# SonarQube Plugin for Flutter / Dart
2-
3-
## develop
4-
5-
#### Breaking
6-
7-
- None.
8-
9-
#### Experimental
10-
11-
- None.
12-
13-
#### Enhancements
14-
15-
- Support SonarQube 9
16-
17-
#### Bug Fixes
18-
19-
- None.
20-
211
## 0.3.2
222

233
#### Breaking

0 commit comments

Comments
 (0)