The introduction of EasyBuild.PackageReleaseNotes.Tasks takes priority over -p:PackageVersion CLI arguments.
This means when generating local package using ./build.sh package the version picked is coming from the CHANGELOG.md
To fix this issue, I will introduce a condition in EasyBuild.PackageReleaseNotes.Tasks so people can prevent it from setting the version.