diff --git a/.changeset/fix-version-flag.md b/.changeset/fix-version-flag.md deleted file mode 100644 index 24e8cd5..0000000 --- a/.changeset/fix-version-flag.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@codacy/codacy-cloud-cli": patch ---- - -Fix `--version` flag reporting hardcoded `1.0.0` instead of the actual package version. The CLI now reads the version dynamically from `package.json` at runtime via `require`, so the reported version stays in sync with every release automatically. diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a5266e..09b88f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # @codacy/codacy-cloud-cli +## 1.3.1 + +### Patch Changes + +- [#18](https://github.com/codacy/codacy-cloud-cli/pull/18) [`7b09b5b`](https://github.com/codacy/codacy-cloud-cli/commit/7b09b5ba254f7cd7f46a86bd594352e8d3751eb9) Thanks [@manufacturist](https://github.com/manufacturist)! - Fix `--version` flag reporting hardcoded `1.0.0` instead of the actual package version. The CLI now reads the version dynamically from `package.json` at runtime via `require`, so the reported version stays in sync with every release automatically. + ## 1.3.0 ### Minor Changes diff --git a/package.json b/package.json index 3633b47..1a33189 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@codacy/codacy-cloud-cli", - "version": "1.3.0", + "version": "1.3.1", "description": "A command-line tool to interact with Codacy Cloud from your terminal", "homepage": "https://www.codacy.com", "repository": {