diff --git a/snapcraft.yaml b/snapcraft.yaml index 0deaace..05e00be 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -1,24 +1,25 @@ name: cointop -version: master -version-script: git -C parts/cointop/build rev-parse --short HEAD +adopt-info: cointop summary: Interactive terminal based UI application for tracking cryptocurrencies description: | cointop is a fast and lightweight interactive terminal based UI application for tracking and monitoring cryptocurrency coin stats in real-time. grade: stable confinement: strict +base: core20 parts: - go: - source-tag: go1.14 cointop: - after: [go] source: . plugin: go - go-importpath: github.com/miguelmota/cointop + build-packages: + - git + override-pull: | + snapcraftctl pull + snapcraftctl set-version $(git rev-parse --short HEAD) apps: cointop: - command: cointop + command: bin/cointop plugs: - network - network-bind