1 2 3 4 5 6 7 8 9
VERSION=v0.1.0 build: go build -ldflags="-X 'main.Version=${VERSION}'" tar: build git archive \ -o midr-${VERSION}.tar.gz \ --prefix=midr-${VERSION}/ HEAD