Skip to content

Commit

Permalink
update: exclude LICENSE at 'exclude' list
Browse files Browse the repository at this point in the history
  • Loading branch information
hexaaagon authored Jul 4, 2024
1 parent d34a8fc commit 19c3bd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/onRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Create MC Pack file
run: |
echo "📚 Creating MC Pack file (excluding specific files and other ZIP files)"
zip -r mc_pack.zip . -x "node_modules/*" ".git/*" "src/*" ".github/*" "tsconfig.json" "README.md" "package.json" "package-lock.json" "LICENSE" ".gitignore" "*.zip"
zip -r mc_pack.zip . -x "node_modules/*" ".git/*" "src/*" ".github/*" "tsconfig.json" "README.md" "package.json" "package-lock.json" ".gitignore" "*.zip"
echo "📚 Packaging to .mcpack from MC Pack File"
cp mc_pack.zip CCBG_${{ github.event.release.tag_name }}.mcpack
Expand All @@ -48,7 +48,7 @@ jobs:
run: |
echo "📚 Creating directory structure for Minecraft Preview Pack"
mkdir CCBG_PREVIEW
rsync -av --exclude='node_modules' --exclude='.git' --exclude='CCBG_PREVIEW' --exclude='*.zip' --exclude='.github' --exclude='src' --exclude='tsconfig.json' --exclude='README.md' --exclude='package.json' --exclude='package-lock.json' --exclude='LICENSE' --exclude='.gitignore' ./ CCBG_PREVIEW/
rsync -av --exclude='node_modules' --exclude='.git' --exclude='CCBG_PREVIEW' --exclude='*.zip' --exclude='.github' --exclude='src' --exclude='tsconfig.json' --exclude='README.md' --exclude='package.json' --exclude='package-lock.json' --exclude='.gitignore' ./ CCBG_PREVIEW/
node .github/workflow-script/updatePreviewManifest.js
echo "📚 Creating MC Pack file for Preview"
Expand Down

0 comments on commit 19c3bd6

Please sign in to comment.