Skip to content

Commit

Permalink
[action] force google_play_track_version_codes to return array of ints (
Browse files Browse the repository at this point in the history
#15623)

* [action] force google_play_track_version_codes to return array of ints

* Updated validate docs ruby version

* Cleaned up code a bit
  • Loading branch information
Josh Holtz committed Nov 11, 2019
1 parent 4e6cb2a commit 552f0fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ jobs:

"Validate Documentation":
docker:
- image: circleci/ruby:2.3
- image: circleci/ruby:2.4
steps:
- checkout

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ def self.run(params)

Supply.config = params

Supply::Reader.new.track_version_codes
# AndroidpublisherV3 returns version codes as array of strings
# even though version codes need to be integers
# https://github.com/fastlane/fastlane/issues/15622
version_codes = Supply::Reader.new.track_version_codes || []
return version_codes.compact.map(&:to_i)
end

#####################################################
Expand Down

0 comments on commit 552f0fa

Please sign in to comment.