Skip to content

Commit a2ef187

Browse files
committed
exclude collection tests from the tarball
1 parent 70219d1 commit a2ef187

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
@@ -6,7 +6,7 @@ dist: $(NAME)-$(VERSION).tar.gz
66

77
$(NAME)-$(VERSION).tar.gz: build/collections/foremanctl
88
git archive --prefix $(NAME)-$(VERSION)/ --output $(NAME)-$(VERSION).tar HEAD
9-
tar --append --file $(NAME)-$(VERSION).tar --transform='s#^#$(NAME)-$(VERSION)/#' build/collections/foremanctl
9+
tar --append --file $(NAME)-$(VERSION).tar --transform='s#^#$(NAME)-$(VERSION)/#' --exclude='build/collections/foremanctl/ansible_collections/*/*/tests/*' build/collections/foremanctl
1010
gzip $(NAME)-$(VERSION).tar
1111

1212
build/collections/foremanctl: $(REQUIREMENTS_YML)

0 commit comments

Comments
 (0)