From 8bb7b662a033c50b83674407a5f0edaf275590db Mon Sep 17 00:00:00 2001 From: Kayanski Date: Tue, 7 Jan 2025 18:09:12 +0100 Subject: [PATCH] Abstract-interface --- framework/Cargo.toml | 6 +++--- framework/packages/standards/dex/Cargo.toml | 4 +++- framework/publish/publish.sh | 18 +++++++++--------- 3 files changed, 15 insertions(+), 13 deletions(-) diff --git a/framework/Cargo.toml b/framework/Cargo.toml index 9013f4130..4dd902791 100644 --- a/framework/Cargo.toml +++ b/framework/Cargo.toml @@ -65,9 +65,9 @@ polytone-note = { package = "abstract-polytone-note", version = "5.0.0" } ## crates in order of publishing ## see docs/Publishing.md -abstract-adapter = { path = "packages/abstract-adapter" } -abstract-app = { path = "packages/abstract-app" } -abstract-standalone = { path = "packages/abstract-standalone" } +abstract-adapter = { path = "packages/abstract-adapter", version = "0.26.0" } +abstract-app = { path = "packages/abstract-app", version = "0.26.0" } +abstract-standalone = { path = "packages/abstract-standalone", version = "0.26.0" } # Keep these as path, creates cirular dependency otherwise # Only need to re-publish all contracts if a re-publish of abstract-interface is required diff --git a/framework/packages/standards/dex/Cargo.toml b/framework/packages/standards/dex/Cargo.toml index e156efaca..0a9c7eb47 100644 --- a/framework/packages/standards/dex/Cargo.toml +++ b/framework/packages/standards/dex/Cargo.toml @@ -33,7 +33,9 @@ abstract-sdk = { workspace = true } abstract-std = { workspace = true } cw-orch = { workspace = true } -abstract-interface = { workspace = true } +# Keep this as a version and update when publishing new versions +# Default features only works on the workspace Cargo.toml, so using workspace = true is not possible here +abstract-interface = { path = "../../abstract-interface", version = "0.26.0" } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] workspace-hack = { version = "0.1", path = "../../../workspace-hack" } diff --git a/framework/publish/publish.sh b/framework/publish/publish.sh index b2bb1ae8a..dbdfa4760 100755 --- a/framework/publish/publish.sh +++ b/framework/publish/publish.sh @@ -87,16 +87,16 @@ echo "All the contracts are published!" # Now all the packages and standards -PACKAGES="abstract-standalone abstract-client" -STANDARDS="utils staking dex money-market" +PACKAGES="abstract-interface abstract-adapter abstract-app abstract-standalone abstract-client" +STANDARDS=" dex money-market" -for pack in $PACKAGES; do - ( - cd "framework/packages/$pack" - echo "Publishing $pack" - publish_crate - ) -done +# for pack in $PACKAGES; do +# ( +# cd "framework/packages/$pack" +# echo "Publishing $pack" +# publish_crate +# ) +# done for pack in $STANDARDS; do (