Set the built snap to stable when it's tagged or devel when not
This commit is contained in:
parent
ddc2631bb0
commit
073f8846aa
1 changed files with 2 additions and 1 deletions
|
@ -8,7 +8,6 @@ summary: An asynchronous nomadic game about exploring as part of a loose communi
|
||||||
# TODO: Add more to the description
|
# TODO: Add more to the description
|
||||||
description: |
|
description: |
|
||||||
An asynchronous nomadic game about exploring as part of a loose community.
|
An asynchronous nomadic game about exploring as part of a loose community.
|
||||||
grade: devel # Upgrade to 'stable' when ready
|
|
||||||
confinement: strict
|
confinement: strict
|
||||||
adopt-info: go-rove
|
adopt-info: go-rove
|
||||||
|
|
||||||
|
@ -43,5 +42,7 @@ parts:
|
||||||
override-pull: |
|
override-pull: |
|
||||||
snapcraftctl pull
|
snapcraftctl pull
|
||||||
snapcraftctl set-version $(git describe --always --long --dirty --tags)
|
snapcraftctl set-version $(git describe --always --long --dirty --tags)
|
||||||
|
git describe --exact-match HEAD 2> /dev/null && snapcraftctl set-grade "stable" || snapcraftctl set-grade "devel"
|
||||||
|
|
||||||
# TODO: Add the version into the build itself (currently using ldflags)
|
# TODO: Add the version into the build itself (currently using ldflags)
|
||||||
# TODO: Server needs /usr/share/dict/words
|
# TODO: Server needs /usr/share/dict/words
|
||||||
|
|
Loading…
Add table
Reference in a new issue