chore: more compatible tar command

This commit is contained in:
Felipe Martin 2023-07-24 14:30:12 +02:00
parent a6dad28e4e
commit c38546edfb
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ ifneq ($(HAS_WEBAPP),)
mkdir -p dist/$(PLUGIN_ID)/webapp/dist;
cp -r webapp/dist/* dist/$(PLUGIN_ID)/webapp/dist/;
endif
cd dist && tar -cvzf $(BUNDLE_NAME) $(PLUGIN_ID)
cd dist && tar -cvzf $(BUNDLE_NAME) -C $(PLUGIN_ID) .
@echo plugin built at: dist/$(BUNDLE_NAME)