diff --git a/README.md b/README.md index 5150246d..f14a3329 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Speedtest Tracker -[![Docker pulls](https://img.shields.io/docker/pulls/henrywhitaker3/speedtest-tracker)](https://hub.docker.com/r/henrywhitaker3/speedtest-tracker) [![last_commit](https://img.shields.io/github/last-commit/henrywhitaker3/Speedtest-Tracker)](https://github.com/henrywhitaker3/Speedtest-Tracker/commits) [![issues](https://img.shields.io/github/issues/henrywhitaker3/Speedtest-Tracker)](https://github.com/henrywhitaker3/Speedtest-Tracker/issues) ![version](https://img.shields.io/badge/version-v1.6.0-success) [![license](https://img.shields.io/github/license/henrywhitaker3/Speedtest-Tracker)](https://github.com/henrywhitaker3/Speedtest-Tracker/blob/master/LICENSE) +[![Docker pulls](https://img.shields.io/docker/pulls/henrywhitaker3/speedtest-tracker)](https://hub.docker.com/r/henrywhitaker3/speedtest-tracker) [![last_commit](https://img.shields.io/github/last-commit/henrywhitaker3/Speedtest-Tracker)](https://github.com/henrywhitaker3/Speedtest-Tracker/commits) [![issues](https://img.shields.io/github/issues/henrywhitaker3/Speedtest-Tracker)](https://github.com/henrywhitaker3/Speedtest-Tracker/issues) ![version](https://img.shields.io/badge/version-v1.6.1-success) [![license](https://img.shields.io/github/license/henrywhitaker3/Speedtest-Tracker)](https://github.com/henrywhitaker3/Speedtest-Tracker/blob/master/LICENSE) This program runs a speedtest check every hour and graphs the results. The back-end is written in [Laravel](https://laravel.com/) and the front-end uses [React](https://reactjs.org/). It uses the [speedtest-cli](https://www.speedtest.net/apps/cli) package to get the data and uses [Chart.js](https://www.chartjs.org/) to plot the results. diff --git a/app/Console/Commands/SpeedtestVersionCommand.php b/app/Console/Commands/SpeedtestVersionCommand.php new file mode 100644 index 00000000..6430fd07 --- /dev/null +++ b/app/Console/Commands/SpeedtestVersionCommand.php @@ -0,0 +1,45 @@ +info('Speedtest Tracker'); + $this->info('Author: Henry Whitaker'); + $this->info(''); + $this->info('Installed version v' . config('speedtest.version')); + } +} diff --git a/changelog.json b/changelog.json index 55366cb6..7e943b45 100644 --- a/changelog.json +++ b/changelog.json @@ -1,4 +1,10 @@ { + "1.6.1": [ + { + "description": "Added cli option to get version number", + "link": "" + } + ], "1.6.0": [ { "description": "Added telegram notifications", diff --git a/config/speedtest.php b/config/speedtest.php index dd6b4eda..a3f6a100 100644 --- a/config/speedtest.php +++ b/config/speedtest.php @@ -7,7 +7,7 @@ return [ |-------------------------------------------------------------------------- */ - 'version' => '1.6.0', + 'version' => '1.6.1', /* |--------------------------------------------------------------------------