Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
git config --global user.name "${{ github.triggering_actor }}"
git config --global user.email "${{ github.triggering_actor}}@users.noreply.github.com"
- name: Prepare Prerelease
run: knope prerelease
run: knope release --verbose --prerelease-label rc
if: github.event_name == 'push'
- name: Prepare Release
run: knope ${{ inputs.type }}
run: knope release --verbose
if: github.event_name == 'workflow_dispatch'
2 changes: 1 addition & 1 deletion .github/workflows/release-dry-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ jobs:
with:
version: 0.19.2 # Test before updating, breaking changes likely: https://github.com/knope-dev/action#install-latest-version
- name: Display Pending Release
run: knope release --dry-run
run: knope release --dry-run --verbose
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
24 changes: 1 addition & 23 deletions knope.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,29 +20,7 @@ type = "PrepareRelease"

[[workflows.steps]]
type = "Command"
command = "cargo update -w"

[[workflows.steps]]
type = "Command"
command = "git add Cargo.lock && git commit -m \"chore: prepare new release(s) [skip ci]\""

[[workflows.steps]]
type = "Command"
command = "git push"

[[workflows.steps]]
type = "Release"

[[workflows]]
name = "prerelease"

[[workflows.steps]]
type = "PrepareRelease"
prerelease_label = "rc"

[[workflows.steps]]
type = "Command"
command = "cargo update -w && git add Cargo.lock && git commit -m \"chore: prepare new prerelease(s) [skip ci]\""
command = "git commit -m \"chore: prepare new release(s) [skip ci]\""

[[workflows.steps]]
type = "Command"
Expand Down
Loading