Remove non-POSIX commands from Makefile
The use of `<()` in `dist` was incompatible with the GitHub runner. Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
3
Makefile
3
Makefile
@@ -166,7 +166,8 @@ init:
|
||||
dist: $(config)
|
||||
rm -rf .dist/
|
||||
mkdir -p .dist/$(WAREWULF)-$(VERSION)
|
||||
tar -c --files-from <(git ls-files) | tar -C .dist/$(WAREWULF)-$(VERSION) -x
|
||||
git ls-files >.dist/git-ls-files
|
||||
tar -c --files-from .dist/git-ls-files | tar -C .dist/$(WAREWULF)-$(VERSION) -x
|
||||
cp -a vendor/ $(config) .dist/$(WAREWULF)-$(VERSION)
|
||||
scripts/get-version.sh >.dist/$(WAREWULF)-$(VERSION)/VERSION
|
||||
tar -C .dist -czf $(WAREWULF)-$(VERSION).tar.gz $(WAREWULF)-$(VERSION)
|
||||
|
||||
Reference in New Issue
Block a user