chore: more compatible tar command
This commit is contained in:
parent
a6dad28e4e
commit
c38546edfb
2
Makefile
2
Makefile
|
@ -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)
|
||||
|
||||
|
|
Reference in New Issue