Customise the snap version define directly

This commit is contained in:
Marc Di Luzio 2020-06-23 18:21:22 +01:00
parent 4232c547ce
commit ddc2631bb0

View file

@ -3,7 +3,6 @@ title: Rove
base: core20 base: core20
license: MIT license: MIT
architectures: [ amd64 ] architectures: [ amd64 ]
version: git
# TODO icon: # TODO icon:
summary: An asynchronous nomadic game about exploring as part of a loose community. summary: An asynchronous nomadic game about exploring as part of a loose community.
# TODO: Add more to the description # TODO: Add more to the description
@ -11,6 +10,7 @@ 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 grade: devel # Upgrade to 'stable' when ready
confinement: strict confinement: strict
adopt-info: go-rove
apps: apps:
rove: rove:
@ -40,5 +40,8 @@ parts:
source: . source: .
build-packages: build-packages:
- gcc-multilib - gcc-multilib
override-pull: |
snapcraftctl pull
snapcraftctl set-version $(git describe --always --long --dirty --tags)
# 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