Another attempt with .manifestignore

This commit is contained in:
Minasuki Hikimuna
2024-09-05 07:00:04 +03:00
parent 06c8011263
commit ac1629f53b
2 changed files with 16 additions and 1 deletions
+10 -1
View File
@@ -40,7 +40,16 @@ buildPlugin()
zipfile=$(realpath "$outdir/$plugin_id.zip")
pushd "$dir" > /dev/null
zip -r "$zipfile" . > /dev/null
# Check for .manifestignore file
if [ -f ".manifestignore" ]; then
# Use .manifestignore to exclude files
zip -r "$zipfile" . [email protected] > /dev/null
else
# If .manifestignore doesn't exist, include all files
zip -r "$zipfile" . > /dev/null
fi
popd > /dev/null
name=$(grep "^name:" "$f" | head -n 1 | cut -d' ' -f2- | sed -e 's/\r//' -e 's/^"\(.*\)"$/\1/')
+6
View File
@@ -0,0 +1,6 @@
.template-stash\local-config.txt
.template-stash\missing-stashdb-config.txt
.template-stash\missing-tpdb-config.txt
.gitignore
fakeInput.py
test_stash_e2e.py