Append commit abbreviation to the snap version for non-release builds #2234

Merged
PeterSurda merged 2 commits from gitea-95 into v0.6 2024-05-20 01:06:23 +02:00
Showing only changes of commit aaaac0f034 - Show all commits

View File

@ -28,7 +28,7 @@ parts:
source: https://github.com/Bitmessage/PyBitmessage.git
override-pull: |
snapcraftctl pull
snapcraftctl set-version $(git describe --tags --abbrev=0 | tr -d v)
snapcraftctl set-version $(git describe --tags | cut -d- -f1,3 | tr -d v)
plugin: python
python-version: python2
build-packages: