Repository navigation
Commit db0137a
authored
ADFA-2278: Inject YY.ww release version into the build (#1479)
* ADFA-2278: Inject YY.ww release version into the build
Read the next_release_version Gradle property (from the NEXT_RELEASE_VERSION GitHub variable) into a new BuildInfo.RELEASE_VERSION field. release.yml validates and injects it at assemble time; a missing or malformed value fails the release build fast with no APK. Local and F-Droid builds leave the field empty.
* ADFA-2278: Fall back to 'Unknown' when next_release_version is not set
* Revert "ADFA-2278: Fall back to 'Unknown' when next_release_version is not set"
This reverts commit b6d2c35.1 parent 1903259 commit db0137a
4 files changed
Lines changed: 32 additions & 0 deletions
File tree
- .github/workflows
- build-info
- src/main/java/com/itsaky/androidide/buildinfo
- composite-builds/build-logic/common/src/main/java/com/itsaky/androidide/build/config
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
486 | 486 | | |
487 | 487 | | |
488 | 488 | | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
489 | 504 | | |
490 | 505 | | |
491 | 506 | | |
| 507 | + | |
492 | 508 | | |
493 | 509 | | |
494 | 510 | | |
| 511 | + | |
495 | 512 | | |
496 | 513 | | |
497 | 514 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| 61 | + | |
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
89 | 101 | | |
90 | 102 | | |
91 | 103 | | |
| |||
0 commit comments