File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 exit 1
1414fi
1515
16- ALL_PACKAGES=" abstract-interface abstract-adapter abstract-app abstract-ibc-host"
16+ ALL_PACKAGES=" abstract-interface abstract-adapter abstract-app abstract-ibc-host utils"
17+ # These need to update the dependency of abstract-interface to use the version
18+ OTHER_PACKAGES=" dex staking"
1719
1820for pack in $ALL_PACKAGES ; do
1921 (
@@ -23,7 +25,26 @@ for pack in $ALL_PACKAGES; do
2325 )
2426done
2527
26- echo " Everything is published!"
28+ echo " Packages are published!"
29+
30+ read -p " Please update the version of 'abstract-interface' to the published version and type 'yes' to continue: " input
31+ if [ " $input " != " yes" ]
32+ then
33+ echo " The script will terminate now. Please run it again after updating the version."
34+ exit 1
35+ fi
36+
37+ echo " Continuing with the publication of other packages..."
38+
39+ for pack in $OTHER_PACKAGES ; do
40+ (
41+ cd " packages/$pack "
42+ echo " Publishing $pack "
43+ cargo publish --allow-dirty
44+ )
45+ done
46+
47+ echo " All packages have been published!"
2748
2849# VERSION=$(grep -A1 "\[workspace.package\]" Cargo.toml | awk -F'"' '/version/ {print $2}');
2950# git tag v"$VERSION"
You can’t perform that action at this time.
0 commit comments