Skip to content

Commit e2cb382

Browse files
committed
ci: Upgrade Knope
1 parent ba1dbee commit e2cb382

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ jobs:
1616
- name: Install Knope
1717
uses: knope-dev/action@v1
1818
with:
19-
version: 0.4.3
19+
version: 0.6.1
2020
- run: knope release --dry-run

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Install Knope
2121
uses: knope-dev/action@v1
2222
with:
23-
version: 0.4.3
23+
version: 0.6.1
2424
- name: Bump Version & Create GitHub Release
2525
run: knope release
2626
env:

knope.toml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
[[packages]]
1+
[package]
22
versioned_files = ["pyproject.toml"]
33
changelog = "CHANGELOG.md"
44

55
[[workflows]]
66
name = "task"
7+
78
[[workflows.steps]]
89
type = "SelectGitHubIssue"
910

@@ -12,16 +13,9 @@ name = "task"
1213

1314
[[workflows]]
1415
name = "release"
15-
[[workflows.steps]]
16-
type = "PrepareRelease"
17-
18-
[[workflows.steps]]
19-
type = "Command"
20-
command = "npx prettier --write CHANGELOG.md"
2116

2217
[[workflows.steps]]
23-
type = "Command"
24-
command = "git add pyproject.toml CHANGELOG.md"
18+
type = "PrepareRelease"
2519

2620
[[workflows.steps]]
2721
type = "Command"

0 commit comments

Comments
 (0)