diff --git a/.forgejo/workflows/on_release.yml b/.forgejo/workflows/on_release.yml index 7fabeef2a2..dcf1e316d5 100644 --- a/.forgejo/workflows/on_release.yml +++ b/.forgejo/workflows/on_release.yml @@ -54,6 +54,7 @@ jobs: export storePassword=${{ secrets.KEYSTORE_PASSWORD }} export keyAlias=${{ secrets.KEY_ALIAS }} export keyPassword=${{ secrets.KEY_PASSWORD }} + ./gradlew build ./gradlew assembleRelease - name: Upload APK to hetzner diff --git a/scripts/prepareAndroid.sh b/scripts/prepareAndroid.sh index ee22ad89c6..8d40b33010 100755 --- a/scripts/prepareAndroid.sh +++ b/scripts/prepareAndroid.sh @@ -38,7 +38,6 @@ export default config; rm -rf dist-full mkdir dist-full cp dist/*.html dist-full/ -cp dist/*.js dist-full/ cp dist/*.css dist-full/ # cp dist/*.webmanifest dist-full/ # Not needed cp -r dist/css dist-full/ @@ -66,8 +65,6 @@ cp -r dist/assets/generated/themes/ dist-full/assets/generated/ cp -r dist/assets/themes dist-full/assets/ cp dist/assets/*.js.map dist-full/assets/ rm -rf dist-full/assets/data/nsi -rm /home/pietervdvn/git/MapComplete/dist-full/assets/layers/nsi_brand/nsi_brand.json -rm /home/pietervdvn/git/MapComplete/dist-full/assets/layers/nsi_operator/nsi_operator.json # mkdir dist-full/assets/generated nvm use @@ -80,5 +77,5 @@ npx cap sync npm run clean tput bel -tput bel +tput bel # Note: tput doesn't work in the runners and may not be the last command, otherwise, it'll fail. echo "All done! Don't forget to click 'gradle sync files' in Android Studio"