Skip to content

Commit 4ec6f8b

Browse files
committed
chore: fix knope usage for updated version
1 parent 80031c3 commit 4ec6f8b

File tree

2 files changed

+3
-21
lines changed

2 files changed

+3
-21
lines changed

.github/workflows/prepare-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ jobs:
3232
git config --global user.name "${{ github.triggering_actor }}"
3333
git config --global user.email "${{ github.triggering_actor}}@users.noreply.github.com"
3434
- name: Prepare Prerelease
35-
run: knope prerelease
35+
run: knope release --verbose --prerelease-label rc
3636
if: github.event_name == 'push'
3737
- name: Prepare Release
38-
run: knope ${{ inputs.type }}
38+
run: knope release --verbose
3939
if: github.event_name == 'workflow_dispatch'

knope.toml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -24,25 +24,7 @@ command = "cargo update -w"
2424

2525
[[workflows.steps]]
2626
type = "Command"
27-
command = "git add Cargo.lock && git commit -m \"chore: prepare new release(s) [skip ci]\""
28-
29-
[[workflows.steps]]
30-
type = "Command"
31-
command = "git push"
32-
33-
[[workflows.steps]]
34-
type = "Release"
35-
36-
[[workflows]]
37-
name = "prerelease"
38-
39-
[[workflows.steps]]
40-
type = "PrepareRelease"
41-
prerelease_label = "rc"
42-
43-
[[workflows.steps]]
44-
type = "Command"
45-
command = "cargo update -w && git add Cargo.lock && git commit -m \"chore: prepare new prerelease(s) [skip ci]\""
27+
command = "git commit -m \"chore: prepare new release(s) [skip ci]\""
4628

4729
[[workflows.steps]]
4830
type = "Command"

0 commit comments

Comments
 (0)