fix: get current version from stream-sprout VERSION

This commit is contained in:
Martin Wimpress 2024-07-25 02:32:52 +01:00 committed by Martin Wimpress
commit 6f89206695

View file

@ -29,7 +29,7 @@ parts:
- git
override-pull: |
craftctl default
craftctl set version=$(git describe --tags --abbrev=0).$(git rev-parse --short HEAD)
craftctl set version=$(grep "^readonly VERSION" stream-sprout | cut -d'"' -f2)-$(git rev-parse --short HEAD)
prime:
- stream-sprout
- stream-sprout.yaml.example