Makefile: Fix CI ordering/dependencies (#2004)

This commit is contained in:
har7an 2022-12-09 11:06:11 +00:00 committed by GitHub
parent adab6b8363
commit e19ba4e341
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -235,6 +235,7 @@ args = ["push", "--atomic", "origin", "main", "v${CARGO_MAKE_CRATE_VERSION}"]
[tasks.commit-all] [tasks.commit-all]
ignore_errors = true ignore_errors = true
dependencies = ["plugins-release"]
command = "git" command = "git"
args = ["commit", "-aem", "chore(release): v${CARGO_MAKE_CRATE_VERSION}"] args = ["commit", "-aem", "chore(release): v${CARGO_MAKE_CRATE_VERSION}"]
@ -244,6 +245,7 @@ args = ["tag", "--annotate", "--message", "Version ${CARGO_MAKE_CRATE_VERSION}",
[tasks.publish-zellij-tile] [tasks.publish-zellij-tile]
ignore_errors = true ignore_errors = true
dependencies = ["publish-zellij-utils"]
cwd = "zellij-tile" cwd = "zellij-tile"
script = "cargo publish && sleep 15" script = "cargo publish && sleep 15"
@ -261,7 +263,7 @@ script = "cargo publish && sleep 15"
[tasks.publish-zellij-utils] [tasks.publish-zellij-utils]
ignore_errors = true ignore_errors = true
dependencies = ["publish-zellij-tile"] dependencies = ["publish-zellij-utils"]
cwd = "zellij-utils" cwd = "zellij-utils"
script = "cargo publish && sleep 15" script = "cargo publish && sleep 15"
@ -272,9 +274,11 @@ script = "cargo publish && sleep 15"
[tasks.publish-zellij] [tasks.publish-zellij]
dependencies = [ dependencies = [
"publish-zellij-utils",
"publish-zellij-tile-utils",
"publish-zellij-tile",
"publish-zellij-client", "publish-zellij-client",
"publish-zellij-server", "publish-zellij-server",
"publish-zellij-utils",
] ]
command = "cargo" command = "cargo"
args = ["publish"] args = ["publish"]