Restrict zip to current dir
This commit is contained in:
parent
2756c34702
commit
fe87f21599
4
.github/scripts/build.sh
vendored
4
.github/scripts/build.sh
vendored
@ -82,8 +82,8 @@ find $BASE_DIR/../ -type d -maxdepth 2
|
||||
tar -czf $TAR_NAME -C $BASE_DIR .
|
||||
sha256sum $TAR_NAME >"$TAR_NAME.sha256"
|
||||
|
||||
cd $BASE_DIR/phpvms;
|
||||
zip -r $ZIP_NAME .* *
|
||||
cd $BASE_DIR;
|
||||
zip -r $ZIP_NAME ./.* ./*
|
||||
sha256sum $ZIP_NAME >"$ZIP_NAME.sha256"
|
||||
mv $ZIP_NAME /tmp
|
||||
mv "$ZIP_NAME.sha256" /tmp
|
||||
|
Loading…
Reference in New Issue
Block a user