Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove variables from workflows #2491

Merged
merged 1 commit into from
Apr 17, 2024
Merged
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
10 changes: 3 additions & 7 deletions knope.toml
Original file line number Diff line number Diff line change
Expand Up @@ -198,26 +198,22 @@ ignore_conventional_commits = true
[[workflows.steps]]
type = "Command"
# WARNING: if you change this message, remember to update the `prepare_release.yml` too, because it uses this message
command = "git commit -m \"chore: prepare release $version\""
command = "git commit -m \"chore: prepare release\""

[[workflows.steps]]
command = "git push --force --set-upstream origin release"
type = "Command"

[workflows.steps.variables]
"$version" = "Version"

[[workflows.steps]]
base = "main"
type = "CreatePullRequest"

[workflows.steps.title]
template = "chore: prepare release $version"
variables = { "$version" = "Version" }
template = "chore: prepare release"

[workflows.steps.body]
template = "This PR was created by Knope. Merging it will create a new release\n\n$changelog"
variables = { "$changelog" = "ChangelogEntry" }
template = "This PR was created by Knope. Merging it will create a new release"

# The release workflow that will run in CI. It is triggered when the prepare-release PR is merged
[[workflows]]
Expand Down