version 1.1.8
This commit is contained in:
parent
a4d831f474
commit
b8e3198ba8
5 changed files with 87 additions and 7 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
|
2014.11.08 Version 1.1.8
|
||||||
|
|
||||||
* API Changes
|
* API Changes
|
||||||
- `editor.commands.commandKeyBinding` now contains direct map from keys to commands instead of grouping them by hashid
|
- `editor.commands.commandKeyBinding` now contains direct map from keys to commands instead of grouping them by hashid
|
||||||
|
|
|
||||||
2
build
2
build
|
|
@ -1 +1 @@
|
||||||
Subproject commit 17c02716b7f116c7920f8ef07c8c2b0e20d77ec0
|
Subproject commit 7fafd126c2d26bdec899274eb5c2080c7a081d47
|
||||||
|
|
@ -91,6 +91,12 @@ module.exports.generateSettingsMenu = function generateSettingsMenu (editor) {
|
||||||
elements.forEach(function(element) {
|
elements.forEach(function(element) {
|
||||||
topmenu.appendChild(element);
|
topmenu.appendChild(element);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
var el = topmenu.appendChild(document.createElement('div'));
|
||||||
|
var version = "1.1.7";
|
||||||
|
el.style.padding = "1em";
|
||||||
|
el.textContent = "Ace version " + version;
|
||||||
|
|
||||||
return topmenu;
|
return topmenu;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
10
package.json
10
package.json
|
|
@ -1,14 +1,14 @@
|
||||||
{
|
{
|
||||||
"name": "ace",
|
"name": "ace",
|
||||||
"description": "Ajax.org Code Editor is a full featured source code highlighting editor that powers the Cloud9 IDE",
|
"description": "Ajax.org Code Editor is a full featured source code highlighting editor that powers the Cloud9 IDE",
|
||||||
"version": "1.1.7",
|
"version": "1.1.8",
|
||||||
"homepage" : "http://github.com/ajaxorg/ace",
|
"homepage": "http://github.com/ajaxorg/ace",
|
||||||
"engines": {"node": ">= 0.6.0"},
|
"engines": {"node": ">= 0.6.0"},
|
||||||
"author": "Fabian Jakobs <fabian@c9.io>",
|
"author": "Fabian Jakobs <fabian@c9.io>",
|
||||||
"main": "lib/ace",
|
"main": "lib/ace",
|
||||||
"repository" : {
|
"repository": {
|
||||||
"type" : "git",
|
"type": "git",
|
||||||
"url" : "http://github.com/ajaxorg/ace.git"
|
"url": "http://github.com/ajaxorg/ace.git"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"mime": "1.2.x"
|
"mime": "1.2.x"
|
||||||
|
|
|
||||||
74
tool/release.sh
Normal file
74
tool/release.sh
Normal file
|
|
@ -0,0 +1,74 @@
|
||||||
|
pause() {
|
||||||
|
while true; do
|
||||||
|
read -p "$1 " yn
|
||||||
|
case $yn in
|
||||||
|
[Yy]* ) break;;
|
||||||
|
[Nn]* ) exit;;
|
||||||
|
* ) echo "Please answer yes or no.";;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
read -p "enter version number for the build " VERSION_NUM
|
||||||
|
|
||||||
|
cd `dirname $0`/..
|
||||||
|
SOURCE=`pwd`
|
||||||
|
|
||||||
|
node -e "
|
||||||
|
var fs = require('fs');
|
||||||
|
var version = '$VERSION_NUM';
|
||||||
|
function replaceVersion(str) {
|
||||||
|
return str.replace(/(['\"]?version['\"]?\s*[:=]\s*['\"])[\\d.\\w\\-](['\"])/, function(_, m1, m2) {
|
||||||
|
return m1 + version + m2;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
function update(path, replace) {
|
||||||
|
var pkg = fs.readFileSync(path, 'utf8');
|
||||||
|
pkg = (replace || replaceVersion)(pkg);
|
||||||
|
fs.writeFileSync(path, pkg, 'utf8');
|
||||||
|
}
|
||||||
|
update('package.json');
|
||||||
|
update('build/package.json');
|
||||||
|
update('./lib/ace/ext/menu_tools/generate_settings_menu.js');
|
||||||
|
update('ChangeLog.txt', function(str) {
|
||||||
|
var date='"`date +%Y.%m.%d`"';
|
||||||
|
return date + ' Version ' + version + '\n' + str.replace(/^\d+.*/, '').replace(/^\n/, '');
|
||||||
|
});
|
||||||
|
"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
node Makefile.dryice.js full
|
||||||
|
cd build
|
||||||
|
git add .
|
||||||
|
git commit --all -m "package `date +%d.%m.%y`"
|
||||||
|
|
||||||
|
|
||||||
|
echo "build task completed."
|
||||||
|
pause "continue creating the tag for v$VERSION_NUM [y/n]"
|
||||||
|
if [[ ${VERSION_NUM} != *"-"* ]]; then
|
||||||
|
git tag "v"$VERSION_NUM
|
||||||
|
fi
|
||||||
|
|
||||||
|
pause "continue pushing to github? [y/n]"
|
||||||
|
|
||||||
|
git push --progress --tags "origin" HEAD:gh-pages HEAD:master
|
||||||
|
|
||||||
|
echo "build repository updated"
|
||||||
|
|
||||||
|
pause "continue update ace repo? [y/n]"
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
|
||||||
|
echo "new commit added"
|
||||||
|
pause "continue creating the tag for v$VERSION_NUM [y/n]"
|
||||||
|
if [[ ${VERSION_NUM} != *"-"* ]]; then
|
||||||
|
git tag "v"$VERSION_NUM
|
||||||
|
fi
|
||||||
|
|
||||||
|
pause "continue pushing to github? [y/n]"
|
||||||
|
|
||||||
|
echo git push --progress --tags "origin" HEAD:gh-pages HEAD:master
|
||||||
|
echo "All done!"
|
||||||
|
pause "May I go now? [y/n]"
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue