fix: exclude git dir and gradle jar from release zip
Added more aggressive exclusions to keep the release zip small (~134 KB instead of ~4.5 MB).
This commit is contained in:
@@ -71,10 +71,14 @@ jobs:
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
run: |
|
||||
zip -r meal-tracker.zip . \
|
||||
-x ".git/*" ".gitea/*" ".env" ".pytest_cache/*" \
|
||||
"__pycache__/*" "meals.db" \
|
||||
"android/.gradle/*" "android/.gradle-home/*" \
|
||||
"android/app/build/*" "android/local.properties"
|
||||
-x ".git/*" ".git/" \
|
||||
-x ".gitea/*" ".gitea/" \
|
||||
-x ".env" ".pytest_cache/*" \
|
||||
-x "__pycache__/*" "meals.db" \
|
||||
-x "android/.gradle/*" "android/.gradle-home/*" \
|
||||
-x "android/app/build/*" "android/local.properties" \
|
||||
-x "android/gradle/wrapper/gradle-wrapper.jar" \
|
||||
-x "android/gradlew.bat"
|
||||
|
||||
- name: Publish release
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
|
||||
Reference in New Issue
Block a user