mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
Fix versioning in snap
This commit is contained in:
@@ -135,8 +135,8 @@ parts:
|
||||
override-pull: |
|
||||
craftctl default
|
||||
|
||||
version="$(git describe --tags | sed -r 's,^k([0-9]\.[0-9]),\1,')"
|
||||
snapcraftctl set version "$version"
|
||||
version="$(git describe --tags --always | sed -r 's,^k([0-9]\.[0-9]),\1,')"
|
||||
craftctl set version="$version"
|
||||
|
||||
sed -i 's|^Icon=kotatogram$|Icon=${SNAP}/meta/gui/icon.png|g' lib/xdg/io.github.kotatogram.desktop
|
||||
override-build: |
|
||||
|
Reference in New Issue
Block a user