From c2479eaa1f29276d26e3aa225b7d944ec85844f5 Mon Sep 17 00:00:00 2001 From: Anthony ESTEBE Date: Fri, 14 Jun 2019 17:04:34 +0700 Subject: [PATCH 1/2] 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 From 1cf50ccf46b287c95496d03dc4023a93f6c06d8f Mon Sep 17 00:00:00 2001 From: Nicolas Mahe Date: Fri, 14 Jun 2019 17:09:01 +0700 Subject: [PATCH 2/2] update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3c429b1..6bad125 100644 --- a/README.md +++ b/README.md @@ -210,7 +210,7 @@ OPTIONS --log-level=(debug|info|warn|error|fatal|panic) [default: info] log level --name=name (required) [default: engine] name of the service running the engine --silent - --version=version (required) [default: v0.10.0] Version of the engine to run + --version=version (required) [default: v0.10.1] Version of the engine to run ``` _See code: [src/commands/daemon/start.ts](https://github.com/mesg-foundation/cli/blob/v1.0.3/src/commands/daemon/start.ts)_