Skip to content
This repository has been archived by the owner on Nov 14, 2019. It is now read-only.

add version file and change to v0.10.1 #75

Merged
merged 2 commits into from
Jun 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)_
Expand Down
3 changes: 2 additions & 1 deletion src/commands/daemon/start.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {flags} from '@oclif/command'

import Command from '../../docker-command'
import version from '../../version';

import Status, {ServiceStatus} from './status'

Expand All @@ -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',
Expand Down
3 changes: 3 additions & 0 deletions src/version.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default {
engine: 'v0.10.1'
}