diff --git a/CHANGELOG.md b/CHANGELOG.md index 13b0d910d..7582d6117 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +Bugfixes: +- Use spago.cabal instead of package.yaml to get version number (#787) + ## [0.20.1] - 2021-04-20 Bugfixes: diff --git a/scripts/get-version b/scripts/get-version index 762637739..788fd8851 100755 --- a/scripts/get-version +++ b/scripts/get-version @@ -1,3 +1,3 @@ #!/usr/bin/env bash -grep "version:" package.yaml | sed "s/version: *//g" +grep "^version:" spago.cabal | sed "s/version: *//g"