fix typo
This commit is contained in:
parent
b8e3198ba8
commit
271cefb44a
2 changed files with 4 additions and 4 deletions
|
|
@ -93,7 +93,7 @@ module.exports.generateSettingsMenu = function generateSettingsMenu (editor) {
|
||||||
});
|
});
|
||||||
|
|
||||||
var el = topmenu.appendChild(document.createElement('div'));
|
var el = topmenu.appendChild(document.createElement('div'));
|
||||||
var version = "1.1.7";
|
var version = "1.1.8";
|
||||||
el.style.padding = "1em";
|
el.style.padding = "1em";
|
||||||
el.textContent = "Ace version " + version;
|
el.textContent = "Ace version " + version;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ node -e "
|
||||||
var fs = require('fs');
|
var fs = require('fs');
|
||||||
var version = '$VERSION_NUM';
|
var version = '$VERSION_NUM';
|
||||||
function replaceVersion(str) {
|
function replaceVersion(str) {
|
||||||
return str.replace(/(['\"]?version['\"]?\s*[:=]\s*['\"])[\\d.\\w\\-](['\"])/, function(_, m1, m2) {
|
return str.replace(/(['\"]?version['\"]?\s*[:=]\s*['\"])[\\d.\\w\\-]+(['\"])/, function(_, m1, m2) {
|
||||||
return m1 + version + m2;
|
return m1 + version + m2;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
@ -36,7 +36,7 @@ node -e "
|
||||||
});
|
});
|
||||||
"
|
"
|
||||||
|
|
||||||
|
pause "versions updated. do you want to start build script? [y/n]"
|
||||||
|
|
||||||
node Makefile.dryice.js full
|
node Makefile.dryice.js full
|
||||||
cd build
|
cd build
|
||||||
|
|
@ -68,7 +68,7 @@ fi
|
||||||
|
|
||||||
pause "continue pushing to github? [y/n]"
|
pause "continue pushing to github? [y/n]"
|
||||||
|
|
||||||
echo git push --progress --tags "origin" HEAD:gh-pages HEAD:master
|
git push --progress --tags "origin" HEAD:gh-pages HEAD:master
|
||||||
echo "All done!"
|
echo "All done!"
|
||||||
pause "May I go now? [y/n]"
|
pause "May I go now? [y/n]"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue