diff --git a/Makefile b/Makefile index a0af315..55117cd 100644 --- a/Makefile +++ b/Makefile @@ -74,7 +74,7 @@ snap-clean: snap-stage: # https://github.com/elopio/go/issues/2 - mv go.mod go.mod~ ;GO111MODULE=off snapcraft stage; mv go.mod~ go.mod + mv go.mod go.mod~ ;GO111MODULE=off GOFLAGS="-ldflags=-s -ldflags=-w -ldflags=-X=github.com/miguelmota/cointop/cointop.version=$(VERSION)" snapcraft stage; mv go.mod~ go.mod snap-install: sudo apt install snapd diff --git a/snapcraft.yaml b/snapcraft.yaml index 718de57..832f21e 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -1,3 +1,4 @@ +name: cointop version: master version-script: git -C parts/cointop/build rev-parse --short HEAD summary: Interactive terminal based UI application for tracking cryptocurrencies @@ -8,7 +9,7 @@ confinement: strict parts: go: - source-tag: go1.12 + source-tag: go1.13 cointop: after: [go] source: .