Prevent build script for creating a parent folder

This commit is contained in:
varjolintu 2024-08-11 21:50:03 +03:00
parent 161629b601
commit b62d7bb698

View file

@ -41,7 +41,7 @@ const updateTranslations = async () => {
};
const createZipFile = async (fileName, path) => {
await exec(`tar -a -cf ${fileName} ${path}/*`);
await exec(`cd ${path} && tar -a -cf ../${fileName} * && cd ..`);
};
(async() => {