54 Commits

Author SHA1 Message Date
90fe13d66c build_ios: Print xcode version 2020-11-14 23:35:42 +01:00
4a69524bff build_ios: Remove the check for uncommitted changes
Hopefully now that builds witll be done by the CI, this won't really
happen.
2020-11-14 23:31:13 +01:00
1a36bd3fdd add_ios_keys: cleanup 2020-11-14 22:23:36 +01:00
943ae17b58 CircleCI: Try to build it on osx 2020-11-14 22:15:51 +01:00
bdc2f4ddc3 add_ios_keys: Cleanup script 2020-11-11 16:47:04 +01:00
2b252d6401 ios: Hopefully get code signing to work 2020-11-11 13:03:38 +01:00
4f42a442cc ios: Print out installed code signing identities 2020-11-11 12:12:48 +01:00
1ff91c2dfb build_ios: Make it less verbose 2020-11-11 12:03:28 +01:00
2221a03322 Move Provisioning profiles to their own directory 2020-11-11 11:46:14 +01:00
743a8b40e7 CI: Try to do the keysigning stuff for IOS 2020-11-10 22:48:52 +01:00
57c1911df9 Scripts: Add pipefail and some minor cleanups 2020-11-09 19:18:39 +01:00
1819867754 build_ios: Pass the build number
We don't actually need to pass the build name, but I'm still doing it
since there seem to be some problems with the Share plugin.
2020-10-21 19:17:30 +02:00
35e1ab3e07 ios fastfile: Do not increment the build number
This is taken care of by flutter
2020-10-21 19:15:58 +02:00
9f53115616 ios: Add iCloud capability
I cannot see the GitJournal app's data in my iCloud, but I believe maybe
my app needs to go through the app review process.
2020-10-19 20:01:36 +02:00
a51b751ba8 Remove unused script 2020-09-12 22:07:00 +02:00
f12da4dfc3 ios: Enable the ci again
Extract the libs in the correct location!
2020-09-05 20:03:35 +02:00
ef816725ef ios CI: Try building the app without code signing 2020-09-04 23:03:35 +02:00
807dca4ac8 build_ios: Get gj_common if it doesn't exist 2020-09-04 22:21:56 +02:00
12fce59fc5 build_ios: Download the required libs 2020-09-04 11:47:48 +02:00
5b26d8cb1d build_ios: Undo changes after build
fastlane changes the Info.plist file to add the correct version number.
2020-09-04 11:39:17 +02:00
0d5dc317c1 Add a script to build on ios
I usually do these steps manually each time.
2020-09-04 11:23:07 +02:00
b4e127cdc9 Generate test coverage in the CI 2020-08-17 15:46:16 +02:00
28d53242d8 Move away from RevenueCat
The iOS updates keep getting rejected, and I think it's because
RevenueCat is taking too long to respond. Additionally, revenueCat
doesn't really give us anything useful as its receipt validation isn't
perfect, and I've had to roll my own.

Plus from a privacy point of view, this is better as we are no longer
talking to any third party service.

This has so far only been tested on iOS
2020-07-26 12:20:09 +02:00
e15c99f2aa Add a script to record the screen 2020-06-04 16:01:45 +02:00
42d6386096 Add basic txt file support
With this 'txt' files are now read and written. However, they don't have
any metadata so they don't show up correctly in the sort order and
currently the Markdown Editor is still available for them.

Related to #55
2020-06-02 00:15:18 +02:00
f2d37f2647 CI: Do not build the APK
Only build the AAB, since it's all we're uploading. Earlier the apk was
still useful as I was downloading it for manual testing, but now all
testing is done by downloading the release from the app store in a
Closed Testing List.
2020-06-01 23:30:31 +02:00
ed5e86cf83 Get Sentry DSN from env variable 2020-04-10 12:10:37 +02:00
b1683acbf3 Add a way to pass certain keys via env variables in the CI 2020-04-06 19:57:10 +02:00
ac7881ebeb Remove unused scripts 2020-01-29 17:09:01 +01:00
63170445d7 Move libgit2 code to git_bindings repo
We now have a much clearer separation between Git code and this app
specific code. This is awesome, it will allow other people to easily
integrate Git within their apps. Also, eventually it will be trivial to
switch to another implemention of Git (via JGit or a git client written
completely in Dart)

This breaks the iOS version as I haven't moved the code to build the ios
version. Maybe this will be a good excuse for me to setup a proper CI/CD
system for ios builds.

There is also a chance this breaks Crashalytics NDK symbols :(
2019-12-21 01:06:15 +01:00
fe6fb3db00 Crashlytics Symbols Upload: Another issue because of flavours
These flavours are really a pain in the ass. Maybe having a local diff
would I never commit would have just been easier.
2019-12-12 00:45:59 +01:00
2581b67ac5 crashlytics: Fix path to debug symbols
It has changed because of the flavoured build.
2019-12-12 00:23:10 +01:00
e5c3bb3fdb Add a 'dev' and 'prod' build flavour
Now whenever we run 'flutter run' or 'flutter build' we need to pass the
flavour flag. It seems there is no way to set a default flavour.

This is required as I want to be able to not have to reconfigure my
local GitJournal app (which I use for note-taking) vs the one I'm
developing where I might change many different settings for the basis of
testing.

Specially since I don't use Github/GitLab to store my notes, so the
setup process is a bit more involved.
2019-12-11 20:45:51 +01:00
29dcb4dbf9 Remove launch_android script
The `flutter emulator` command can be used instead.
2019-11-03 02:04:20 +01:00
36bd074d84 install_latest_artifact: Make it work again
We now have 2 artifacts the aab and apk
2019-10-04 04:18:24 +02:00
300acbd787 CI: Build the APK as well as the AAB
The APK is useful for debugging, as one cannot easily install the AAB
from the command line.
2019-10-02 07:14:18 +02:00
90a6df2239 CI: Store the AAB as an artifact
Instead of the apk which is no longer generated
2019-07-28 03:17:16 +02:00
d05b052fe3 CI: Publish the android app bundle 2019-07-18 01:28:30 +02:00
88499a45c2 Add a script to download the ios dependencies
We need libgit2 / libssh2 / openssl in order for our app.
2019-05-30 13:34:20 +02:00
0fc956ebdb Rename install_ndk_libs -> download_ndk_libs
It's more descriptive
2019-05-30 12:24:30 +02:00
4ade7bf18d Android: Try to setup crashlytics stack traces 2019-05-29 18:07:58 +02:00
003b628131 ci: build with --verbose 2019-05-27 10:58:58 +02:00
ee315a1904 install_latest_artifact script: Allow gitjournal to not be installed 2019-05-20 13:31:44 +02:00
2eed041bfd Scripts: Get the latest successful build
Completed includes failed builds
2019-05-19 14:37:54 +02:00
77d295077f CI: Download the NDK libs
Now I can finally push all these changes, as the CI should also run and
we're ready to try out the new version of the app which uses libgit2
instead of jgit. Hopefully no user will notice anything different.
2019-05-17 17:17:33 +02:00
a065cd3ec8 Improve flutter_run script
* Display a longer message when reloading - It's easier to see
* Make flutter_run start the reload script and kill it automatically.
This is always the behaviour I want when running an app via flutter run.
2019-05-02 00:19:45 +02:00
7dc6433538 Add a helper script to choose the device and run flutter on it
It makes the entire process so much easier when you have multiple adb
devices.
2019-02-16 11:33:18 +01:00
892a575227 Add a script to add the status bar to the screenshots
The ones generated by the flutter driver do not have status bars
2019-02-16 10:19:28 +01:00
0a6d6f63ee launch_android: Assume that emulator is in the path 2019-02-13 20:42:04 +01:00
cee81d7c4a Add a helper script to get the latest artifact from CircleCI 2019-02-13 14:19:48 +01:00