File tree Expand file tree Collapse file tree 3 files changed +28
-22
lines changed
Expand file tree Collapse file tree 3 files changed +28
-22
lines changed Original file line number Diff line number Diff line change 1515 runs-on : ubuntu-latest
1616
1717 steps :
18+ - name : Setup nodejs
19+ uses : actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6
20+ with :
21+ node-version : lts/*
22+
1823 - name : Generate token
1924 id : token
2025 uses : actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2
@@ -34,11 +39,12 @@ jobs:
3439 - name : Install releaser
3540 run : |
3641 npm install -g \
37- conventional-changelog-conventionalcommits@6.1.0 \
38- semantic-release@23.1.1 \
42+ semantic-release@25.0.2 \
3943 @semantic-release/changelog \
4044 @semantic-release/git \
41- @semantic-release/exec
45+ @semantic-release/github \
46+ semantic-release-replace-plugin \
47+ conventional-changelog-conventionalcommits
4248
4349 - name : Run releaser
4450 env :
Original file line number Diff line number Diff line change 9595 }
9696 ],
9797 [
98- "@ semantic-release/exec ",
98+ "semantic-release-replace-plugin ",
9999 {
100- "prepareCmd": "./hack/action-version.sh ${nextRelease.version}"
100+ "replacements": [
101+ {
102+ "files": [
103+ "action.yml"
104+ ],
105+ "from": "docker://ghcr.io/actionhippie/pushrm:.*",
106+ "to": "docker://ghcr.io/actionhippie/pushrm:${nextRelease.version}",
107+ "results": [
108+ {
109+ "file": "action.yml",
110+ "hasChanged": true,
111+ "numMatches": 1,
112+ "numReplacements": 1
113+ }
114+ ],
115+ "countMatches": true
116+ }
117+ ]
101118 }
102119 ],
103120 [
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments