Commit 4f05d6d8 authored by wonko's avatar wonko

build script for android version (epoch) and permissions (internet)

parent 40b6c78e
......@@ -6,6 +6,7 @@
In most cases you can leave this as-is, but you if you want to provide
additional functionality it is fine to subclass or reimplement
FlutterApplication and put your custom class here. -->
<uses-permission android:name="android.permission.INTERNET"/>
<application
android:name="io.flutter.app.FlutterApplication"
android:label="night_of_science"
......
......@@ -11,7 +11,7 @@ description: The NoS App
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.0+1
version: 2019.0.5+1
environment:
sdk: ">=2.1.0 <3.0.0"
......
#!/bin/sh +x
vcode=$(date +%s)
flutter build apk --release --build-name=2019.0.5 --build-number=$vcode
cp build/app/outputs/apk/release/app-release.apk ~/git/plumbing/fdroid-repo/repo/nos.apk
git -C ~/git/plumbing/fdroid-repo/repo add nos.apk
git -C ~/git/plumbing/fdroid-repo/repo commit -m "nos $vcode"
git -C ~/git/plumbing/fdroid-repo/repo push
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment