fix: exclude git dir and gradle jar from release zip
CI / build-android (push) Successful in 3m23s
CI / test (push) Successful in 38s

Added more aggressive exclusions to keep the release zip small
(~134 KB instead of ~4.5 MB).
This commit is contained in:
agentbox
2026-08-01 10:53:07 +00:00
parent bbb6bc206a
commit 587c847b44
+8 -4
View File
@@ -71,10 +71,14 @@ jobs:
if: startsWith(github.ref, 'refs/tags/v') if: startsWith(github.ref, 'refs/tags/v')
run: | run: |
zip -r meal-tracker.zip . \ zip -r meal-tracker.zip . \
-x ".git/*" ".gitea/*" ".env" ".pytest_cache/*" \ -x ".git/*" ".git/" \
"__pycache__/*" "meals.db" \ -x ".gitea/*" ".gitea/" \
"android/.gradle/*" "android/.gradle-home/*" \ -x ".env" ".pytest_cache/*" \
"android/app/build/*" "android/local.properties" -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 - name: Publish release
if: startsWith(github.ref, 'refs/tags/v') if: startsWith(github.ref, 'refs/tags/v')