File tree Expand file tree Collapse file tree 2 files changed +35
-2
lines changed Expand file tree Collapse file tree 2 files changed +35
-2
lines changed Original file line number Diff line number Diff line change 35
35
uses : cycjimmy/semantic-release-action@v2
36
36
with :
37
37
semantic_version : 16
38
+ extra_plugins : |
39
+ @google/semantic-release-replace-plugin
40
+ @semantic-release/git
38
41
env :
39
42
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
40
43
87
90
tags : ${{ steps.meta.outputs.tags }}
88
91
labels : ${{ steps.meta.outputs.labels }}
89
92
platforms : linux/amd64,linux/arm64
90
- push : ${{ github.event_name != 'pull_request' }}
93
+ push : ${{ github.event_name != 'pull_request' }}
Original file line number Diff line number Diff line change 2
2
"plugins": [
3
3
"@semantic-release/commit-analyzer",
4
4
"@semantic-release/release-notes-generator",
5
- "@semantic-release/github"
5
+ [
6
+ "@google/semantic-release-replace-plugin",
7
+ {
8
+ "replacements": [
9
+ {
10
+ "files": [
11
+ "README.md"
12
+ ],
13
+ "from": "codingpot/alertmanager-discord:v.+",
14
+ "to": "codingpot/alertmanager-discord:v${nextRelease.version}",
15
+ "results": [
16
+ {
17
+ "file": "README.md",
18
+ "hasChanged": true,
19
+ "numMatches": 1,
20
+ "numReplacements": 1
21
+ }
22
+ ],
23
+ "countMatches": true
24
+ }
25
+ ]
26
+ }
27
+ ],
28
+ [
29
+ "@semantic-release/git",
30
+ {
31
+ "assets": [
32
+ "README.md"
33
+ ]
34
+ }
35
+ ]
6
36
]
7
37
}
You can’t perform that action at this time.
0 commit comments