Skip to content

Commit

Permalink
remove unwanted fields/files
Browse files Browse the repository at this point in the history
  • Loading branch information
ponapalt committed Nov 25, 2024
1 parent b389b3a commit ba184b0
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/auto_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,17 @@ jobs:
rm -f ghost/master/dic/system/LICENSE
rm -f ghost/master/dic/system/README.md
# Create NAR file
zip -9 -r -q "yayame.nar" ./*
# Create clean directory structure
mkdir -p temp_dir
cp -r * temp_dir/
cd temp_dir
# Create NAR file with clean settings
zip -X -9 -r -y -D "../yayame.nar" ./* \
-x "*.DS_Store" -x "*.git*" -x "*.tmp" -x "Thumbs.db" \
-x "desktop.ini" -x "*.bak" -x "~*"
cd ..
rm -rf temp_dir
- name: Create and upload release
uses: softprops/action-gh-release@v2
Expand Down

0 comments on commit ba184b0

Please sign in to comment.