diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..8193949 --- /dev/null +++ b/build.sh @@ -0,0 +1,8 @@ +#!/bin/bash +# Convenience script + +git fetch && git merge origin/main && git push; # Typically run after a PR to main, so bring dev up to date +rm ./build/app/outputs/flutter-apk/* 2>/dev/null; # Get rid of older builds if any +flutter build apk && flutter build apk --split-per-abi # Build (both split and combined APKs) +for file in ./build/app/outputs/flutter-apk/*.sha1; do gpg --sign --detach-sig "$file"; done # Generate PGP signatures +rsync -r ./build/app/outputs/flutter-apk/ ~/Downloads/Obtainium-build/ # Dropoff in Downloads to allow for drag-drop into Flatpak Firefox \ No newline at end of file