Skip to content

Commit

Permalink
exclude backup~ files from .tar builds
Browse files Browse the repository at this point in the history
  • Loading branch information
abh committed Feb 27, 2018
1 parent b07ef32 commit c095692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ go build -o geodns-$OS-$ARCH \
-ldflags "-X main.gitVersion=$REVISION -X main.buildTime=$BUILDTIME" \
-v && \
(cd geodns-influxdb && go build -v -o geodns-influxdb-$OS-$ARCH && cd ..) && \
tar cvf geodns-$OS-$ARCH.tar geodns-$OS-$ARCH geodns-influxdb/geodns-influxdb-$OS-$ARCH service service-influxdb
tar -cvf geodns-$OS-$ARCH.tar --exclude \*~ geodns-$OS-$ARCH geodns-influxdb/geodns-influxdb-$OS-$ARCH service service-influxdb

0 comments on commit c095692

Please sign in to comment.