Browse Source

cli: add to publish script (#1815)

Armani Ferrante 3 years ago
parent
commit
45d3d3fe31
2 changed files with 6 additions and 3 deletions
  1. 3 0
      Makefile
  2. 3 3
      cli/Cargo.toml

+ 3 - 0
Makefile

@@ -36,3 +36,6 @@ publish:
 	cd spl/ && cargo publish && cd ../
 	sleep 25
 	cd client/ && cargo publish && cd ../
+	sleep 25
+	cd cli/ && cargo publish && cd ../
+	sleep 25

+ 3 - 3
cli/Cargo.toml

@@ -17,9 +17,9 @@ default = []
 clap = { version = "3.0.13", features = ["derive"] }
 anyhow = "1.0.32"
 syn = { version = "1.0.60", features = ["full", "extra-traits"] }
-anchor-lang = { path = "../lang" }
-anchor-client = { path = "../client" }
-anchor-syn = { path = "../lang/syn", features = ["idl", "init-if-needed"] }
+anchor-lang = { path = "../lang", version = "0.24.2" }
+anchor-client = { path = "../client", version = "0.24.2" }
+anchor-syn = { path = "../lang/syn", features = ["idl", "init-if-needed"], version = "0.24.2" }
 serde_json = "1.0"
 shellexpand = "2.1.0"
 toml = "0.5.8"