Skip to content

Commit aaaac0f

Browse files
author
Lee Miller
committed
Append commit abbreviation to the snap version for non-release builds
1 parent e571ba8 commit aaaac0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/snap/snapcraft.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ parts:
2828
source: https://github.com/Bitmessage/PyBitmessage.git
2929
override-pull: |
3030
snapcraftctl pull
31-
snapcraftctl set-version $(git describe --tags --abbrev=0 | tr -d v)
31+
snapcraftctl set-version $(git describe --tags | cut -d- -f1,3 | tr -d v)
3232
plugin: python
3333
python-version: python2
3434
build-packages:

0 commit comments

Comments
 (0)