Skip to content

Commit 03d9f1f

Browse files
authored
Merge pull request #6 from vancona/patch-1
Adding compression to the release package
2 parents 604d107 + 35aa1d2 commit 03d9f1f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ release-darwin:
1212
mkdir -p bin/pg_exporter_v$(VERSION)_darwin-amd64
1313
mv -f pg_exporter bin/pg_exporter_v$(VERSION)_darwin-amd64/
1414
cp -f pg_exporter.yaml bin/pg_exporter_v$(VERSION)_darwin-amd64/
15-
tar -cf bin/pg_exporter_v$(VERSION)_darwin-amd64.tar.gz -C bin pg_exporter_v$(VERSION)_darwin-amd64
15+
tar -czf bin/pg_exporter_v$(VERSION)_darwin-amd64.tar.gz -C bin pg_exporter_v$(VERSION)_darwin-amd64
1616
rm -rf bin/pg_exporter_v$(VERSION)_darwin-amd64
1717

1818
release-linux: clean
@@ -23,7 +23,7 @@ release-linux: clean
2323
cp -f pg_exporter.yaml bin/pg_exporter_v$(VERSION)_linux-amd64/
2424
cp -f service/pg_exporter.default bin/pg_exporter_v$(VERSION)_linux-amd64/
2525
cp -f service/pg_exporter.service bin/pg_exporter_v$(VERSION)_linux-amd64/
26-
tar -cf bin/pg_exporter_v$(VERSION)_linux-amd64.tar.gz -C bin pg_exporter_v$(VERSION)_linux-amd64
26+
tar -czf bin/pg_exporter_v$(VERSION)_linux-amd64.tar.gz -C bin pg_exporter_v$(VERSION)_linux-amd64
2727
rm -rf bin/pg_exporter_v$(VERSION)_linux-amd64
2828

2929
release-windows: clean
@@ -32,7 +32,7 @@ release-windows: clean
3232
mkdir -p bin/pg_exporter_v$(VERSION)_windows-amd64
3333
mv -f pg_exporter bin/pg_exporter_v$(VERSION)_windows-amd64/
3434
cp -f pg_exporter.yaml bin/pg_exporter_v$(VERSION)_windows-amd64/
35-
tar -cf bin/pg_exporter_v$(VERSION)_windows-amd64.tar.gz -C bin pg_exporter_v$(VERSION)_windows-amd64
35+
tar -czf bin/pg_exporter_v$(VERSION)_windows-amd64.tar.gz -C bin pg_exporter_v$(VERSION)_windows-amd64
3636
rm -rf bin/pg_exporter_v$(VERSION)_windows-amd64
3737

3838
rpm:

0 commit comments

Comments
 (0)