Skip to content

Commit 4cadf79

Browse files
committed
fix zip command
1 parent cffa250 commit 4cadf79

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

script/stores_build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ stores_build() {
1616
mkdir -p dist
1717
cp -r build/* dist
1818
echo 'zipping the dist'
19-
zip -r extension.zip dist/* -x "*.DS_Store"
19+
cd dist/ && zip -r ../extension.zip * -x "*.DS_Store" && cd ..
2020

2121
echo 'zipping the source code for Firefox'
2222
zip -r source_code.zip 'public/' 'script/' 'src' 'LICENCE' 'package.json' 'yarn.lock' 'README.md' -x "*.DS_Store"

0 commit comments

Comments
 (0)