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