feat(build): incorporate git committing and tagging into the publish process
This commit is contained in:
parent
b835594bf2
commit
f1bff237a4
1 changed files with 14 additions and 1 deletions
|
|
@ -122,9 +122,22 @@ args = ["install", "cross"]
|
|||
[tasks.publish]
|
||||
clear = true
|
||||
workspace = false
|
||||
dependencies = ["build-plugins-release", "wasm-opt-plugins", "build-release", "publish-zellij-tile", "publish-zellij-tile-utils"]
|
||||
dependencies = ["build-plugins-release", "wasm-opt-plugins", "release-commit", "build-release", "publish-zellij-tile", "publish-zellij-tile-utils"]
|
||||
run_task = "publish-zellij"
|
||||
|
||||
[tasks.release-commit]
|
||||
dependencies = ["commit-all", "tag-release"]
|
||||
command = "git"
|
||||
args = ["push", "--atomic", "origin", "main", "v${CARGO_MAKE_CRATE_VERSION}"]
|
||||
|
||||
[tasks.commit-all]
|
||||
command = "git"
|
||||
args = ["commit", "-aem", "chore(release): v${CARGO_MAKE_CRATE_VERSION}"]
|
||||
|
||||
[tasks.tag-release]
|
||||
command = "git"
|
||||
args = ["tag", "v${CARGO_MAKE_CRATE_VERSION}"]
|
||||
|
||||
[tasks.publish-zellij-tile]
|
||||
ignore_errors = true
|
||||
cwd = "zellij-tile"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue