Skip to content

Commit

Permalink
Fix versioning in snap
Browse files Browse the repository at this point in the history
  • Loading branch information
EricKotato committed Jul 1, 2024
1 parent 1b26448 commit fceaabc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit fceaabc

Please sign in to comment.