Read version from version.txt instead of git

This commit is contained in:
Michael Zanetti 2021-03-06 15:08:52 +01:00
parent 94acae8a37
commit 6c6b5380b1

View File

@ -96,5 +96,5 @@ parts:
- qtvirtualkeyboard-plugin
- qtwayland5
override-build: |
snapcraftctl set-version $( git -C ${SNAPCRAFT_PART_SRC} describe --tags )
snapcraftctl set-version $( head -n 1 ${SNAPCRAFT_PART_SRC}/version.txt )
snapcraftctl build