From c17bc5c067849c4f963f43964c1b60f9f6598bfb Mon Sep 17 00:00:00 2001 From: Noah Saso Date: Mon, 22 Jul 2024 14:01:34 -0400 Subject: [PATCH] reorganized publish more --- scripts/publish.sh | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/scripts/publish.sh b/scripts/publish.sh index 2da542f4c..4eb17e1e6 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -29,6 +29,7 @@ START_DIR=$(pwd) # We start with publish packages, aside from dao-testing which must be published last. # Packages + cd packages/cw-denom cargo publish cd "$START_DIR" @@ -49,8 +50,6 @@ cd packages/cw-paginate-storage cargo publish cd "$START_DIR" -sleep 120 - cd packages/cw721-controllers cargo publish cd "$START_DIR" @@ -59,6 +58,8 @@ cd packages/dao-cw721-extensions cargo hack publish --no-dev-deps --allow-dirty cd "$START_DIR" +sleep 120 + cd packages/dao-interface cargo publish cd "$START_DIR" @@ -67,7 +68,9 @@ cd packages/dao-dao-macros cargo hack publish --no-dev-deps --allow-dirty cd "$START_DIR" -sleep 120 +cd packages/dao-pre-propose-base +cargo publish +cd "$START_DIR" cd packages/dao-voting cargo publish @@ -77,21 +80,18 @@ cd packages/dao-hooks cargo publish cd "$START_DIR" -sleep 120 - cd packages/cw-tokenfactory-types cargo publish cd "$START_DIR" -cd packages/dao-pre-propose-base -cargo publish -cd "$START_DIR" - # Test contracts + cd contracts/test/dao-proposal-sudo cargo publish cd "$START_DIR" +sleep 120 + cd contracts/test/dao-voting-cw20-balance cargo publish cd "$START_DIR" @@ -100,9 +100,8 @@ cd contracts/test/dao-proposal-hook-counter cargo hack publish --no-dev-deps --allow-dirty cd "$START_DIR" -sleep 120 - # Contracts + cd contracts/external/cw-tokenfactory-issuer cargo hack publish --no-dev-deps --allow-dirty cd "$START_DIR" @@ -123,6 +122,8 @@ cd contracts/external/cw-payroll-factory cargo hack publish --no-dev-deps --allow-dirty cd "$START_DIR" +sleep 120 + cd contracts/external/cw721-roles cargo hack publish --no-dev-deps --allow-dirty cd "$START_DIR" @@ -131,8 +132,6 @@ cd contracts/pre-propose/dao-pre-propose-single cargo hack publish --no-dev-deps --allow-dirty cd "$START_DIR" -sleep 120 - cd contracts/pre-propose/dao-pre-propose-multiple cargo hack publish --no-dev-deps --allow-dirty cd "$START_DIR" @@ -175,8 +174,6 @@ cd contracts/voting/dao-voting-cw4 cargo hack publish --no-dev-deps --allow-dirty cd "$START_DIR" -sleep 120 - cd contracts/voting/dao-voting-cw20-staked cargo hack publish --no-dev-deps --allow-dirty cd "$START_DIR" @@ -185,6 +182,8 @@ cd contracts/voting/dao-voting-cw721-roles cargo hack publish --no-dev-deps --allow-dirty cd "$START_DIR" +sleep 120 + cd contracts/voting/dao-voting-cw721-staked cargo hack publish --no-dev-deps --allow-dirty cd "$START_DIR" @@ -201,8 +200,6 @@ cd contracts/dao-dao-core cargo hack publish --no-dev-deps --allow-dirty cd "$START_DIR" -sleep 120 - cd contracts/external/cw-admin-factory cargo hack publish --no-dev-deps --allow-dirty cd "$START_DIR" @@ -216,6 +213,8 @@ cd contracts/distribution/dao-rewards-distributor cargo hack publish --no-dev-deps --allow-dirty cd "$START_DIR" +sleep 120 + cd contracts/external/btsg-ft-factory cargo hack publish --no-dev-deps --allow-dirty cd "$START_DIR"