Skip to content

Commit 52ee2f1

Browse files
committed
fix!
1 parent 5f8fc04 commit 52ee2f1

File tree

2 files changed

+9
-14
lines changed

2 files changed

+9
-14
lines changed

android/fastlane/README.md

+3-11
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,13 @@ For _fastlane_ installation instructions, see [Installing _fastlane_](https://do
1515

1616
## Android
1717

18-
### android beta
18+
### android internal
1919

2020
```sh
21-
[bundle exec] fastlane android beta
21+
[bundle exec] fastlane android internal
2222
```
2323

24-
Deploy a new beta version to Google Play
25-
26-
### android prod
27-
28-
```sh
29-
[bundle exec] fastlane android prod
30-
```
31-
32-
Deploy a new production version to the Google Play
24+
Deploy a new internal version to Google Play
3325

3426
----
3527

tools/get_highest_build_number.rb

+6-3
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,15 @@ def get_highest_build_number(
4040

4141
def get_version_code(track:, package_name:, json_key:)
4242
begin
43-
return google_play_track_version_codes(
43+
codes = google_play_track_version_codes(
4444
track: track,
4545
package_name: package_name,
46-
json_key: google_play_json_key_path,
47-
).max
46+
json_key: json_key,
47+
)
48+
49+
return codes.max
4850
rescue
51+
puts "Version code not found for track #{track}"
4952
return 0
5053
end
5154
end

0 commit comments

Comments
 (0)