bumping to 0.5.14 with docker 1.6

This commit is contained in:
Jeffrey Morgan 2015-04-16 16:29:18 -04:00
Родитель 9705699e0c
Коммит 98000359ba
4 изменённых файлов: 6 добавлений и 12 удалений

Просмотреть файл

@ -106,6 +106,7 @@ gulp.task('dist', function () {
'mkdir -p dist/osx/<%= filename %>/Contents/Resources/app/resources', 'mkdir -p dist/osx/<%= filename %>/Contents/Resources/app/resources',
'cp -v resources/* dist/osx/<%= filename %>/Contents/Resources/app/resources/ || :', 'cp -v resources/* dist/osx/<%= filename %>/Contents/Resources/app/resources/ || :',
'cp <%= icon %> dist/osx/<%= filename %>/Contents/Resources/atom.icns', 'cp <%= icon %> dist/osx/<%= filename %>/Contents/Resources/atom.icns',
'cp ./util/Info.plist dist/osx/<%= filename %>/Contents/Info.plist',
'/usr/libexec/PlistBuddy -c "Set :CFBundleVersion <%= version %>" dist/osx/<%= filename %>/Contents/Info.plist', '/usr/libexec/PlistBuddy -c "Set :CFBundleVersion <%= version %>" dist/osx/<%= filename %>/Contents/Info.plist',
'/usr/libexec/PlistBuddy -c "Set :CFBundleDisplayName <%= name %>" dist/osx/<%= filename %>/Contents/Info.plist', '/usr/libexec/PlistBuddy -c "Set :CFBundleDisplayName <%= name %>" dist/osx/<%= filename %>/Contents/Info.plist',
'/usr/libexec/PlistBuddy -c "Set :CFBundleName <%= name %>" dist/osx/<%= filename %>/Contents/Info.plist', '/usr/libexec/PlistBuddy -c "Set :CFBundleName <%= name %>" dist/osx/<%= filename %>/Contents/Info.plist',

Просмотреть файл

@ -1,6 +1,6 @@
{ {
"name": "Kitematic", "name": "Kitematic",
"version": "0.5.13", "version": "0.5.14",
"author": "Kitematic", "author": "Kitematic",
"description": "Simple Docker Container management for Mac OS X.", "description": "Simple Docker Container management for Mac OS X.",
"homepage": "https://kitematic.com/", "homepage": "https://kitematic.com/",
@ -16,7 +16,7 @@
"release": "gulp release", "release": "gulp release",
"release:beta": "gulp release --beta", "release:beta": "gulp release --beta",
"preinstall": "./util/deps", "preinstall": "./util/deps",
"postinstall": "if [ `uname` == 'Darwin' ]; then gulp download && cp util/Info.plist cache/Atom.app/Contents/Info.plist && cp util/kitematic.icns cache/Atom.app/Contents/Resources/atom.icns; fi", "postinstall": "gulp download",
"lint": "jsxhint src && jsxhint browser" "lint": "jsxhint src && jsxhint browser"
}, },
"licenses": [ "licenses": [
@ -45,8 +45,8 @@
"<rootDir>/node_modules/bluebird" "<rootDir>/node_modules/bluebird"
] ]
}, },
"docker-version": "1.5.0", "docker-version": "1.6.0",
"docker-machine-version": "0.1.0-kitematic-0.5.10", "docker-machine-version": "0.2.0",
"atom-shell-version": "0.23.0", "atom-shell-version": "0.23.0",
"virtualbox-version": "4.3.26", "virtualbox-version": "4.3.26",
"virtualbox-filename": "VirtualBox-4.3.26.pkg", "virtualbox-filename": "VirtualBox-4.3.26.pkg",

Просмотреть файл

@ -77,10 +77,6 @@ var _steps = [{
return; return;
} }
if ((yield machine.state()) === 'Saved') {
yield virtualBox.wake(machine.name());
}
var isoversion = machine.isoversion(); var isoversion = machine.isoversion();
var packagejson = util.packagejson(); var packagejson = util.packagejson();
if (!isoversion || setupUtil.compareVersions(isoversion, packagejson['docker-version']) < 0) { if (!isoversion || setupUtil.compareVersions(isoversion, packagejson['docker-version']) < 0) {
@ -89,7 +85,6 @@ var _steps = [{
} }
if ((yield machine.state()) !== 'Running') { if ((yield machine.state()) !== 'Running') {
yield machine.start(); yield machine.start();
yield machine.regenerateCerts();
} }
}) })
}]; }];

Просмотреть файл

@ -21,9 +21,7 @@ fi
if [ ! -f $DOCKER_MACHINE_CLI_FILE ]; then if [ ! -f $DOCKER_MACHINE_CLI_FILE ]; then
echo "-----> Downloading Docker Machine CLI..." echo "-----> Downloading Docker Machine CLI..."
rm -rf docker-machine* rm -rf docker-machine*
# Use temporary, new version of docker-machine that has some important fixes curl -L -o $DOCKER_MACHINE_CLI_FILE https://github.com/docker/machine/releases/download/v$DOCKER_MACHINE_CLI_VERSION/docker-machine_darwin-amd64
# curl -L -o $DOCKER_MACHINE_CLI_FILE https://github.com/docker/machine/releases/download/v$DOCKER_MACHINE_CLI_VERSION/docker-machine_darwin-amd64
curl -L -o $DOCKER_MACHINE_CLI_FILE https://github.com/kitematic/kitematic/releases/download/v0.5.10/docker-machine_darwin-amd64
chmod +x $DOCKER_MACHINE_CLI_FILE chmod +x $DOCKER_MACHINE_CLI_FILE
fi fi