1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-21 12:44:49 -05:00

set version in snapcraft yaml

This commit is contained in:
techknowlogick 2023-09-13 23:20:46 -04:00 committed by GitHub
parent da50be7360
commit b32998b3f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,7 +62,7 @@ parts:
version="$(git describe --always | sed -e 's/-/+git/;y/-/./')"
[ -n "$(echo $version | grep "+git")" ] && grade=devel || grade=stable
craftctl set version "$version"
craftctl set version="$version"
craftctl set grade="$grade"
override-build: |