Skip to content
Snippets Groups Projects
Commit e876d5fd authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

do not download revocation if click "later"

fix release script
parent 7bb2200b
No related branches found
No related tags found
No related merge requests found
......@@ -23,9 +23,9 @@ if [[ $2 =~ ^[0-9]+.[0-9]+.[0-9]+((a|b)[0-9]+)?$ && $3 =~ ^[0-9]+$ ]]; then
case "$1" in
rel|pre)
# Change the version in package.json and test file
sed -i "s/version\": \"$current/version\": \"$2/g" package.json
sed -i "s/ version=\".*\"/ version=\"$2\"/g" config.xml
sed -i "s/ android-versionCode=\".*\"/ android-versionCode=\"$3\"/g" config.xml
sed -i "s/version\": \"$current\"/version\": \"$2\"/g" package.json
sed -i "s/ version=\"[^\"]+\"/ version=\"$2\"/g" config.xml
sed -i "s/ android-versionCode=\"[^\"]+\"/ android-versionCode=\"$3\"/g" config.xml
# Bump the install.sh
sed -i "s/echo \"v.*\" #lastest/echo \"v$2\" #lastest/g" install.sh
......
......@@ -377,7 +377,8 @@ function JoinModalController($scope, $state, $interval, $timeout, UIUtils, Crypt
okType: 'button-assertive',
cancelText: 'COMMON.BTN_LATER'
})
.then(function() {
.then(function(confirm) {
if (!confirm) return;
return csWallet.downloadRevocation();
});
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment