Skip to content

Commit 4519f0e

Browse files
committed
fix: Avoid including '.' in tarball to prevent extraction permission errors
1 parent 440893c commit 4519f0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ package: build-all ## Create tar.gz packages for all platforms
5050
cd $(BUILD_DIR)/pkg && zip -r ../$${name}.zip * > /dev/null; \
5151
else \
5252
cp $$file $(BUILD_DIR)/pkg/$(BINARY_NAME); \
53-
tar -czf $$file.tar.gz -C $(BUILD_DIR)/pkg .; \
53+
tar -czf $$file.tar.gz -C $(BUILD_DIR)/pkg $(BINARY_NAME) LICENSE README.md; \
5454
fi; \
5555
done
5656
@rm -rf $(BUILD_DIR)/pkg

0 commit comments

Comments
 (0)