mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-08 08:04:21 +00:00
set version in snapcraft yaml
This commit is contained in:
parent
da50be7360
commit
b32998b3f5
|
@ -62,7 +62,7 @@ parts:
|
||||||
|
|
||||||
version="$(git describe --always | sed -e 's/-/+git/;y/-/./')"
|
version="$(git describe --always | sed -e 's/-/+git/;y/-/./')"
|
||||||
[ -n "$(echo $version | grep "+git")" ] && grade=devel || grade=stable
|
[ -n "$(echo $version | grep "+git")" ] && grade=devel || grade=stable
|
||||||
craftctl set version "$version"
|
craftctl set version="$version"
|
||||||
craftctl set grade="$grade"
|
craftctl set grade="$grade"
|
||||||
|
|
||||||
override-build: |
|
override-build: |
|
||||||
|
|
Loading…
Reference in a new issue