Skip to content

Commit

Permalink
(fix) Move zq2 back onto mainline
Browse files Browse the repository at this point in the history
(fix) Try yet again to get git to update the cached zq2 sensibly
  • Loading branch information
rrw-zilliqa committed Sep 12, 2024
1 parent 9785dae commit 8088ab7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion docgen/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,17 @@ async fn main() -> Result<()> {
if fs::metadata(zq2_checkout_dir.clone().join(".git")).is_ok() {
// Update.
CommandBuilder::new()
.cmd("git", &["pull", "https://github.com/zilliqa/zq2", refspec])
.cmd(
"git",
&[
"fetch",
"--depth=1",
"-f",
"-u",
"https://github.com/zilliqa/zq2",
refspec,
],
)
.current_dir(&zq2_checkout_dir.clone())?
.run_logged()
.await?
Expand Down
2 changes: 1 addition & 1 deletion zq2_spec.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
versions:
- refspec: 4914811983d965da3eb176979984ca219aa8bbc3
- refspec: 033cc034a083151fded32092437302d042fe80ee
name: APIs
api_url: "https://api.zq2-prototestnet.zilliqa.com/"

0 comments on commit 8088ab7

Please sign in to comment.