aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-zchain-rebase
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ak-zchain-rebase')
-rwxr-xr-xbin/ak-zchain-rebase6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/ak-zchain-rebase b/bin/ak-zchain-rebase
index 3115083..255ec69 100755
--- a/bin/ak-zchain-rebase
+++ b/bin/ak-zchain-rebase
@@ -40,6 +40,12 @@ rebase (){
ak-ipfs-name-publish --key=zchain /ipfs/$(cat $AK_ZLATEST)
if [ $? != 0 ]; then exit 1; fi
+ ak-config publish
+ if [ "$?" -ne 0 ]
+ then
+ logit "[ERROR]" "Could not publish new configuration"
+ exit 1
+ fi
echo "Rebase was successful"
exit 0
}