diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2022-07-24 22:46:51 +0200 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2022-07-24 23:01:18 +0200 |
commit | 40d80bde511a7a76a0f5a3c16afc9eef2e5972e2 (patch) | |
tree | 9179d7a933d9688eb001f07a5c046b2dc545c150 /Makefile | |
parent | dc81e33f760b45778f2646d6f1a7c9e8166b2fe5 (diff) | |
download | mdir-40d80bde511a7a76a0f5a3c16afc9eef2e5972e2.tar.gz mdir-40d80bde511a7a76a0f5a3c16afc9eef2e5972e2.tar.bz2 mdir-40d80bde511a7a76a0f5a3c16afc9eef2e5972e2.zip |
fix: Using git to archive
Now it uses git to better archive the tar ball.
Source:
- https://git.sr.ht/~sircmpwn/hub.sr.ht/tree/master/item/.builds/alpine.yml#L25
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |