diff --git a/CHANGELOG.md b/CHANGELOG.md index f163f3b..890f452 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,53 @@ # Changelog +## [0.0.26] 20/03/2021 + +### Chore + +- Change NPM released executable file name + +## [0.0.25] 20/03/2021 + +### Chore + +- Debug NPM release + +## [0.0.24] 20/03/2021 + +### Chore + +- Debug NPM release + +## [0.0.23] 20/03/2021 + +### Chore + +- Debug NPM release + +## [0.0.22] 20/03/2021 + +### Chore + +- Debug NPM release + +## [0.0.21] 20/03/2021 + +### Chore + +- Debug NPM release + +## [0.0.20] 20/03/2021 + +### Chore + +- Debug NPM release + +## [0.0.20] 19/03/2021 + +### Chore + +- Debug NPM release + ## [0.0.19] 19/03/2021 ### Fixed diff --git a/docs/README.md b/README.md similarity index 87% rename from docs/README.md rename to README.md index c39daa4..e5894a9 100644 --- a/docs/README.md +++ b/README.md @@ -1,7 +1,7 @@ ![Build and test](https://github.com/marcelovicentegc/kontrolio-cli/workflows/Go/badge.svg)

- kontrolio logo + kontrolio logo

kontrolio-cli

Kontrolio's CLI time clock, clock card machine, punch clock, or time recorder.

@@ -15,15 +15,19 @@ ## Usage +```bash +kontrolio +``` + ```bash NAME: kontrolio - your cli time clock, clock card machine, punch clock or time recorder USAGE: - main [global options] command [command options] [arguments...] + kontrolio [global options] command [command options] [arguments...] VERSION: - 0.0.5 + 0.x COMMANDS: logs, l get logs @@ -37,6 +41,10 @@ GLOBAL OPTIONS: --version, -v print the version (default: false) ``` +## Troubleshooting + +In case you receive an `EACESS` error while trying to execute `kontrolio`, change the file permissions with `chmod 755 `. + ## About ### ✈️ Offline mode diff --git a/cli/cli.go b/cli/cli.go index 65d6f3c..9d2be73 100644 --- a/cli/cli.go +++ b/cli/cli.go @@ -20,7 +20,7 @@ func Kontrolio() { app := &cli.App{ Name: "kontrolio", Usage: "your cli time clock, clock card machine, punch clock or time recorder", - Version: "0.0.5", + Version: "0.0.25", Commands: []*cli.Command{ { diff --git a/package.json b/package.json index dd3d928..314493c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kontrolio/cli", - "version": "0.0.25", + "version": "0.0.26", "main": "", "author": "Marcelo Cardoso ", "license": "MIT", diff --git a/run.js b/run.js index 21d9607..74f80cc 100644 --- a/run.js +++ b/run.js @@ -16,7 +16,7 @@ const appName = "kontrolio"; // Determine the install directory by version so that we can detect when we need // to upgrade to a new version. -const installDir = path.join(binDir, version); +const installDir = path.join(binDir, version, appName); const supportedPlatforms = [ {