Skip to content

Commit 1f778cc

Browse files
committed
release: Post release artifacts on GitHub, too
Fixes: #640
1 parent 8138c4d commit 1f778cc

File tree

3 files changed

+24
-4
lines changed

3 files changed

+24
-4
lines changed

docs/changelog.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@
1616
* The tree includes configuration for Android Studio / IntelliJ,
1717
which should help exclude extraneous results from search. (PR #637)
1818

19-
Resolved: #548, #620, #538, #612, #356, #309, #634, PR #680
19+
* Starting with this release, we post releases on GitHub, as well as
20+
on Google Play and TestFlight.
21+
22+
Resolved: #548, #620, #538, #612, #356, #309, #634, PR #680, #640
2023

2124

2225
## 0.0.14 (2024-04-25)

docs/release.md

+19-3
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@
2929
../mobile/tools/checkout-keystore
3030
```
3131

32-
* Build an Android App Bundle, signed:
32+
* Build both an Android App Bundle (AAB) and an APK, signed:
3333

3434
```
35-
flutter build appbundle -Psigned
35+
flutter build appbundle -Psigned && flutter build apk -Psigned
3636
```
3737

38-
* Upload to the "Zulip (Flutter beta)" app on the Play Console,
38+
* Upload the AAB to the "Zulip (Flutter beta)" app on the Play Console,
3939
at [Release > Testing > Internal testing][play-internaltesting],
4040
using the "Create new release" button there.
4141

@@ -98,6 +98,22 @@
9898
* Confirm and send to Google for review.
9999
100100
101+
* Android via GitHub:
102+
103+
* Create a GitHub release, named the same as the tag.
104+
105+
* For the release notes, use `tools/format-changelog notes`,
106+
and fix formatting as needed.
107+
108+
* The hashes printed at the bottom are based on the files found at
109+
the usual build-output locations. Those should be the same
110+
files you upload.
111+
112+
* Upload both the AAB and the APK.
113+
114+
* Check the box "This is a pre-release".
115+
116+
101117
* iOS via TestFlight:
102118
103119
* After the build reaches alpha, you can add it to TestFlight so it

tools/format-changelog

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ cmd_user() {
4747
show_hash() {
4848
local artifacts filename output hash basename
4949
artifacts=(
50+
"${root}"/build/app/outputs/flutter-apk/app-release.apk
5051
"${root}"/build/app/outputs/bundle/release/app-release.aab
5152
)
5253
echo "sha256sum -c <<EOF"

0 commit comments

Comments
 (0)