Skip to content
This repository was archived by the owner on Jul 21, 2023. It is now read-only.

Commit 8393ecf

Browse files
authored
Merge pull request #71 from nyoxi/nodist-kubevirt
build: remove Kubevirt content from dist package
2 parents 9af339a + ed743b3 commit 8393ecf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ do_dist() {
4646
-e "s|@PACKAGE_NAME@|$PACKAGE_NAME|g" \
4747
< "$PACKAGE_NAME.spec.in" > "$PACKAGE_NAME.spec"
4848

49-
git ls-files | tar --files-from /proc/self/fd/0 -czf "$TARBALL" "$PACKAGE_NAME.spec"
49+
git ls-files | grep -v '^kubevirt-conversion\|^kubevirt-vmware' | \
50+
tar --files-from /proc/self/fd/0 -czf "$TARBALL" "$PACKAGE_NAME.spec"
5051
echo "tar archive '$TARBALL' created."
5152
}
5253

0 commit comments

Comments
 (0)