Voczi
1456d77dc3
Switch from hardcoded signing config
2024-06-24 12:28:04 +00:00
lukstbit
c0f3ea9552
Migrate root build file to kotlin dsl
...
Note: this is a single commit migration so it clears the git history
for the build file. I think this is acceptable as most history is about dependency updates.
2024-05-24 08:42:27 +00:00
Mike Hardy
8585c1142f
fix: disable amazon publish
...
amazon publish is not working at the moment, and it stops the upload
of parallel builds
related: #14161
2023-08-17 20:22:23 -05:00
Mike Hardy
1bcf737e97
re-enable play store upload attempts
...
- will abort (like before) if play store rejects us or play build fails
- will only commit/push build tag if play store works
- universal builds happen after play upload so universal doesn't upload
2023-04-23 10:32:58 -05:00
Mike Hardy
f30799e7d3
fix(release): delay tag push until after builds succeed
...
this is still before any builds leave the build machine and become
public, but is after builds succeed so should burn fewer version numbers
in the event builds fail, as just happened
2023-04-06 18:35:52 -05:00
Mike Hardy
ddeda7a47f
fix(release): build universals one flavor at a time, first
...
building them all at once exhausts memory
2023-04-06 18:35:52 -05:00
Mike Hardy
37acf6cfc6
fix(release): use correct variable name in flavor loop
2023-04-06 18:35:52 -05:00
Arthur Milchior
a79ad04fc3
NF: clean the release message
...
First change is to have `<br/>` instead of `\n`. For the sake of the
consistency. (And also because I imagine \n would be ignored)
Second change is to add actual new line at the end of HTML new line. Text become
more readable.
2023-04-06 15:25:41 -05:00
Mike Hardy
1c2d28af4d
release: include universal build for each flavor in github releases
...
this should help storage migration testing as a play build will now be
available despite a general policy of "full builds on github releases"
2023-04-04 21:29:38 -05:00
Mike Hardy
2d9f82e347
temporarily disable publish of alpha to google
2023-03-28 18:17:18 -05:00
Brayan Oliveira
194b4ec92f
Use "full" flavor on all github release builds: arch+universal+parallel ( #13514 )
2023-03-27 17:40:26 -05:00
Mike Hardy
5bf2a71dfc
fix(release): fail release process if gradle targets fail
...
Fixes #12594
2022-10-08 18:57:20 -05:00
Mike Hardy
d26a90cac2
fix(release): workaround gradle OOM by killing daemon after most activities
...
Fixes #12594
2022-10-08 18:57:20 -05:00
Mike Hardy
4348e998dc
release(docs): add documentation of each important release step
...
should help diagnose problems more quickly in future
2022-10-08 18:57:20 -05:00
Mike Hardy
eb45480c8d
build(release): add 30s sleep after release creation
...
Ideally fixes #11746 but we won't know until a release is attempted
2022-09-02 12:30:26 -05:00
Mike Hardy
68c6d6ebd4
fix(release): eagerly tag+push version number
...
This fixes case where a merge happens while release is
happening, this happens a few times a year and requires
a manual fix when it occurs
2022-04-16 18:47:25 -05:00
Mike Hardy
458dc53884
chore: rename default branch to main
2022-03-06 14:22:18 -05:00
Mike Hardy
b0c9ba767a
fix(release): continue with release process after google reject
...
Fixes #9810
2021-11-07 17:22:04 -05:00
Mike Hardy
b8c77b33c9
release: commit/push version / tag immediately after play upload
...
this shrinks the window where a publish may leave the versioning out of sync
Related #8219 - still a tiny window where a merge within 10mins or so of a publish
may cause problems
2021-10-25 15:24:01 -05:00
Mike Hardy
2bcfd2f199
fix(amazon): assemble amazon release w/universal APK, publish correct path
...
It works!
2021-05-25 18:19:52 -05:00
Mrudul Tora
6d68424cd4
Fixes #8151 Build flavors for Amazon Appstore and Google Playstore ( #8427 )
...
Fixes #8151 Build flavors for Amazon Appstore and Google Playstore
2021-04-19 22:39:06 -05:00
Mike Hardy
d92fdf2a92
GitHub alpha publish - non-zero exit on build fail, +x on utility
2020-08-19 00:26:19 -05:00
Mike Hardy
98f702f0fe
GitHub alpha publish - changelog only important for public release
2020-08-19 00:14:17 -05:00
Mike Hardy
5c51d3b4a0
GitHub alpha publish - install/path for utilities
2020-08-19 00:02:08 -05:00
Mike Hardy
527d35cdb3
Automate alpha publish in github workflow
2020-08-18 23:31:35 -05:00
Mike Hardy
b428d389fe
Copy-edit the github release text
2020-07-08 11:23:53 -05:00
Mike Hardy
d3a7e94c19
Correct ABIS reference and parallel posting in release script
2020-06-18 12:20:08 -05:00
Mike Hardy
37e5c39476
Use correct github-release arguments
...
Their README says one thing, code demands another.
I will file an upstream PR
2020-06-18 11:47:48 -05:00
Mike Hardy
0f11c7715e
Upload ABI splits for main APK, with user advice on selection
...
Fixes #6493
2020-06-18 11:38:52 -05:00
Mike Hardy
598e16e538
Upload universal APK to Amazon for public releases
2020-06-17 16:51:47 -05:00
Mike Hardy
405f2523ec
Invert public / parallel build test for releases
...
For some reason the 2.12alpha11 build uploaded all parallel builds
but for non-public builds I only want to upload one. Perhaps this will
work
2020-06-17 13:49:44 -05:00
Mike Hardy
3d1d9179ee
Release builds parallel correctly, w/existing passwords
2020-06-15 18:03:16 -05:00
Mike Hardy
f9cf683bae
Publish parallel A every release, all parallels on public release
...
This should help testers that don't want to commit to testing all alphas
This will help release management as parallel releases will be automatic now
2020-06-15 17:12:33 -05:00
Mike Hardy
6c51a9c5f8
Allow universal APK in release, upload it to github
...
Previous change meant we never had universal APKs but they are useful
This enables them again if you send a command-line toggle in, and then
uses the toggle to upload builds to github
2020-06-15 17:12:33 -05:00
Mike Hardy
bb89029292
Implement ABI splits for release builds
...
This reduces built APK to 7.5MB vs 10.4MB
Careful consideration was taken to version range space so we won't exhaust it
Manual downloads (github attachments, mostly) are configured as armv7 since no
one uses x86 in real devices anymore - and armv8 devices can run armv7 code
2020-06-14 20:58:13 -05:00
Mike Hardy
b42bf2bb2c
Remove testing exit from release tool
2020-05-18 10:23:47 -05:00
Mike Hardy
4b088ebd4c
Render the official changelog for public releases
...
This enforces that the public changelog is up to date as it
becomes the source for the changelog shipped with the app
Checks that all the necessary release tools exist and that the changelog
actually contains the information for the current version too
Fixes #6197
2020-05-16 13:01:28 -05:00
Mike Hardy
7ac8ab1beb
De-lint and add resilience to APK release tools
2020-05-15 15:21:39 -05:00
Timothy Rae
01785c2ebf
Fix apk location in build script
...
It's changed in the new gradle
2018-05-11 07:46:39 +09:00
Timothy Rae
d8ba8aacb5
Update gradle-play-publisher
2016-10-23 17:57:36 +09:00
timrae
d3d827927f
use the play publishing task in the build script
2015-10-31 12:46:23 +09:00
timrae
66654f3528
Only run tests for AnkiDroid module
...
Remove unnecessary clean from build process
2014-11-13 13:15:31 +09:00
timrae
b697b28cd6
make release script do clean release
2014-11-10 23:57:16 +09:00
timrae
cbe0dec566
Update release script for new project structure
2014-11-10 02:19:57 +09:00
timrae
7b207cad71
a few changes to the release script
2014-11-09 14:31:46 +09:00
Nicolas Raoul
6f7872a70d
run Lint after compilation
2014-07-02 21:21:48 +09:00
Nicolas Raoul
c7abcd6426
Exit if compilation fails
2014-06-04 21:38:02 +09:00
Nicolas Raoul
9fb6f97998
Run Lint before each release
2014-05-16 10:36:10 +09:00
Nicolas Raoul
9624e12459
Added branch specific tag to bumping commit
2014-03-31 14:55:25 +09:00
Nicolas Raoul
83d2770ff4
Made usable for public releases as well
2014-03-28 17:11:14 +09:00