-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set up CI #2
Comments
I think I've got some basics going here, at least the build! No tests yet really, right? https://github.com/gdryke/focus-launcher-android/runs/2083445901?check_suite_focus=true EDIT: ahh, failed as I saved this, but it's building! And I was able to build locally too... |
Yes that's right, I haven't seen any tests so far. Build works fine for me locally too, will take a look at your CI yml, seems fine apart from the gradle step so hopefully it's something small 🤔 |
I propose new scheme for releases. There is three num version X.Y.Z:
There is different ways of branching. But I propose the following. Use three kinds of branches:
At start of each release new version is set up in gradle build script and with PR (or without) master change it's version. In general it will looks like 1.0.10 -> 1.1.0. There is versionCode parameter for every app. It required by system and Gogole Play. You can't install app with the lower version code than versionCode of app which is installed on device. I propose to generate versionCode automatically. For some reason version code is integer number so the max value is limited by Java Integer.MAX_VALUE. The format for version code would be YYMMDDHHMM. Where:
|
Once we have figured out the local build process, we need to convert this to CI. As part of our org plan we get some free Github actions minutes per month - might be worth looking into.
The text was updated successfully, but these errors were encountered: