aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 29f6fd9..398cdc3 100644
--- a/Makefile
+++ b/Makefile
@@ -4,4 +4,6 @@ build:
go build -ldflags="-X 'main.Version=${VERSION}'"
tar: build
- tar -cvf midr-${VERSION}.tar.xz midr templates/
+ git archive \
+ -o midr-${VERSION}.tar.gz \
+ --prefix=midr-${VERSION}/ HEAD