Skip to content

Commit 0f7002e

Browse files
committed
Fix organization
1 parent 6a1c8bc commit 0f7002e

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

.github/workflows/publish_android_on_huawei.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ jobs:
2828
CLIENT_ID: ${{ secrets.APP_GALLERY_CLIENT_ID }}
2929
CLIENT_SECRET: ${{ secrets.APP_GALLERY_CLIENT_SECRET }}
3030
APK_PATH: composeApp/build/outputs/bundle/fullRelease/composeApp-full-release.aab
31-
run: bundle exec fastlane android publish_app_gallery organization:ooni app_id:$APP_ID client_id:$CLIENT_ID client_secret:$CLIENT_SECRET apk_path:$APK_PATH
31+
run: bundle exec fastlane android publish_app_gallery app_id:$APP_ID client_id:$CLIENT_ID client_secret:$CLIENT_SECRET apk_path:$APK_PATH

docs/Release.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,18 +140,17 @@ To update the screenshots or the metadata (title, short and full description) of
140140
and News Media Scan Android apps, go to
141141
[Update Google Play information](https://github.com/ooni/probe-multiplatform/actions/workflows/update_google_play.yml).
142142

143-
### Update Apple App Store listing
143+
### Update Apple App Store listings
144144

145145
To update the screenshots or the metadata (title, short and full description) of the OONI Probe
146146
and News Media Scan iOS apps, go to
147-
[Update Apple App Store information](https://github.com/ooni/probe-multiplatform/actions/workflows/update_ios.yml).
147+
[Update Apple App Store information](https://github.com/ooni/probe-multiplatform/actions/workflows/update_apple_app_store.yml).
148148

149149
### Update F-Droid listing
150150

151151
On release, F-Droid should pick up the OONI Probe screenshots and metadata automtically from the
152152
repository.
153153

154-
### Updating other listings
155-
156-
The Apple App Store and Huawei AppGallery listings are updated manually.
154+
### Updating Huawei AppGallery listing
157155

156+
The Huawei AppGallery listings must be updated manually.

fastlane/Fastfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,13 @@ platform :android do
88
desc " * **`client_secret`**: The client secret for Huawei AppGallery Connect"
99
desc " * **`app_id`**: The app ID for the application"
1010
desc " * **`apk_path`**: The path to the APK/AAB file"
11-
desc " * **`organization`**: ooni, dw (default: ooni)"
1211
desc "#### Required environment variables"
1312
desc " * **`ANDROID_KEYSTORE_FILE`**: path the Android Keystore file"
1413
desc " * **`ANDROID_KEYSTORE_PASSWORD`**: Android Keystore password"
1514
desc " * **`ANDROID_KEY_PASSWORD`**: Android Keystore Key password"
1615
desc " * **`ANDROID_KEY_ALIAS`**: Android Keystore Key alias"
1716
desc ""
1817
lane :publish_app_gallery do |options|
19-
organization = organization!(options)
20-
2118
bundle(organization: organization)
2219

2320
huawei_appgallery_connect(
@@ -259,7 +256,7 @@ end
259256

260257
def organization!(options)
261258
organization = options[:organization]
262-
raise "Invalid organization '#{organization}'" unless %w(ooni).include?(organization)
259+
raise "Invalid organization '#{organization}'" unless %w(ooni dw).include?(organization)
263260
return organization
264261
end
265262

0 commit comments

Comments
 (0)