1
0
mirror of https://github.com/zyedidia/micro synced 2024-06-29 05:54:24 +00:00

Reset snapcraft to standard config

This commit is contained in:
Zachary Yedidia 2023-09-06 17:02:29 -04:00
parent 1ab390e1a2
commit ffc7118af0

View File

@ -23,8 +23,8 @@ parts:
snapcraftctl pull
version="$(go run $SNAPCRAFT_PART_SRC/tools/build-version.go)"
[ -n "$(echo $version | grep "dev")" ] && grade=devel || grade=stable
snapcraftctl set-version "2.0.12-snap"
snapcraftctl set-grade "stable"
snapcraftctl set-version "$version"
snapcraftctl set-grade "$grade"
override-build: |
make build-tags
mkdir $SNAPCRAFT_PART_INSTALL/bin