Fix versioning in snap
This commit is contained in:
parent
1b26448ae0
commit
fceaabcff2
1 changed files with 2 additions and 2 deletions
|
|
@ -135,8 +135,8 @@ parts:
|
||||||
override-pull: |
|
override-pull: |
|
||||||
craftctl default
|
craftctl default
|
||||||
|
|
||||||
version="$(git describe --tags | sed -r 's,^k([0-9]\.[0-9]),\1,')"
|
version="$(git describe --tags --always | sed -r 's,^k([0-9]\.[0-9]),\1,')"
|
||||||
snapcraftctl set version "$version"
|
craftctl set version="$version"
|
||||||
|
|
||||||
sed -i 's|^Icon=kotatogram$|Icon=${SNAP}/meta/gui/icon.png|g' lib/xdg/io.github.kotatogram.desktop
|
sed -i 's|^Icon=kotatogram$|Icon=${SNAP}/meta/gui/icon.png|g' lib/xdg/io.github.kotatogram.desktop
|
||||||
override-build: |
|
override-build: |
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue