File tree Expand file tree Collapse file tree 5 files changed +6487
-9
lines changed Expand file tree Collapse file tree 5 files changed +6487
-9
lines changed Original file line number Diff line number Diff line change @@ -15,14 +15,16 @@ jobs:
15
15
with :
16
16
fetch-depth : 0
17
17
18
- - name : Release to github releases
19
- uses : go-semantic-release/action@v1
18
+ - uses : actions/setup-node@v2
20
19
with :
21
- github-token : ${{ secrets.GITHUB_TOKEN }}
22
- changelog-file : CHANGELOG.md
23
- update-file : pubspec.yaml
20
+ node-version : 16
21
+ registry-url : https://registry.npmjs.org/
22
+ cache : npm
24
23
25
- - name : Commit and push to main
26
- uses : stefanzweifel/git-auto-commit-action@v4
27
- with :
28
- commit_message : ' [skip ci] Release'
24
+ - name : Install dependencies
25
+ run : npm install
26
+
27
+ - name : Release
28
+ env :
29
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
30
+ run : npx semantic-release
Original file line number Diff line number Diff line change @@ -14,3 +14,4 @@ test/.test_coverage.dart
14
14
coverage
15
15
.semrel
16
16
.failed_tracker
17
+ node_modules /
Original file line number Diff line number Diff line change
1
+ {
2
+ "branches" : [
3
+ " main"
4
+ ],
5
+ "plugins" : [
6
+ " @semantic-release/commit-analyzer" ,
7
+ " @semantic-release/release-notes-generator" ,
8
+ " @semantic-release/changelog" ,
9
+ " semantic-release-dart" ,
10
+ [
11
+ " @semantic-release/git" ,
12
+ {
13
+ "assets" : [
14
+ " package.json" ,
15
+ " package-lock.json" ,
16
+ " CHANGELOG.md"
17
+ ],
18
+ "message" : " chore(release): ${nextRelease.version} [skip ci]\n\n ${nextRelease.notes}\n\n\n skip-checks: true"
19
+ }
20
+ ],
21
+ [
22
+ " @semantic-release/github" ,
23
+ {
24
+ "assets" : " dist/*.tgz"
25
+ }
26
+ ]
27
+ ],
28
+ "repositoryUrl" : " https://github.com/SphericalKat/dart-fuzzywuzzy"
29
+ }
You can’t perform that action at this time.
0 commit comments