Skip to content

Commit a93e696

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

File tree

3 files changed

+4
-22
lines changed

3 files changed

+4
-22
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'

.github/workflows/release-dry-run.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ jobs:
1919
with:
2020
version: 0.19.2 # Test before updating, breaking changes likely: https://github.com/knope-dev/action#install-latest-version
2121
- name: Display Pending Release
22-
run: knope release --dry-run
22+
run: knope release --dry-run --verbose
2323
env:
2424
GITHUB_TOKEN: ${{ secrets.PAT }}

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)