From c2479eaa1f29276d26e3aa225b7d944ec85844f5 Mon Sep 17 00:00:00 2001 From: Anthony ESTEBE Date: Fri, 14 Jun 2019 17:04:34 +0700 Subject: [PATCH] add version file and change to v0.10.1 --- src/commands/daemon/start.ts | 3 ++- src/version.ts | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 src/version.ts diff --git a/src/commands/daemon/start.ts b/src/commands/daemon/start.ts index 4475163..96a65fe 100644 --- a/src/commands/daemon/start.ts +++ b/src/commands/daemon/start.ts @@ -1,6 +1,7 @@ import {flags} from '@oclif/command' import Command from '../../docker-command' +import version from '../../version'; import Status, {ServiceStatus} from './status' @@ -12,7 +13,7 @@ export default class Start extends Command { version: flags.string({ description: 'Version of the engine to run', required: true, - default: 'v0.10.0' + default: version.engine }), 'log-force-colors': flags.boolean({ description: 'log force colors', diff --git a/src/version.ts b/src/version.ts new file mode 100644 index 0000000..bbe4bfd --- /dev/null +++ b/src/version.ts @@ -0,0 +1,3 @@ +export default { + engine: 'v0.10.1' +} \ No newline at end of file