Skip to content

Commit 5434f13

Browse files
Merge pull request #439 from wordpress-mobile/add/mac-support-in-ios-actions
Add Mac support to Release Toolkit actions
2 parents 34bf3a3 + 25338d8 commit 5434f13

24 files changed

+25
-25
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ _None_
1010

1111
### New Features
1212

13-
_None_
13+
- Added Mac support to all `common` actions and any relevant `ios` actions [#439]
1414

1515
### Bug Fixes
1616

@@ -36,7 +36,7 @@ _None_
3636

3737
- Allow `android_firebase_test` to not crash on failure, letting the caller do custom failure handling (e.g. Buildkite Annotations, etc) on their side. [#430]
3838
- `promo_screenshots` now checks that the fonts—referenced via `font-family` in all the stylesheets referenced in the config file—are installed before starting, and prompt to install them if they are not. This check is enabled by default now but can be disabled/skipped if it causes any issue. [#429]
39-
- `promo_screenshots` now supports config files to be written in `YAML` in addition to still supporting `JSON`. [#429]
39+
- `promo_screenshots` now supports config files to be written in `YAML` in addition to still supporting `JSON`. [#429]
4040

4141
### Bug Fixes
4242

lib/fastlane/plugin/wpmreleasetoolkit/actions/common/gp_downloadmetadata_action.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def self.authors
8383
end
8484

8585
def self.is_supported?(platform)
86-
[:ios, :android].include?(platform)
86+
true
8787
end
8888
end
8989
end

lib/fastlane/plugin/wpmreleasetoolkit/actions/common/gp_update_metadata_source.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def self.authors
163163
end
164164

165165
def self.is_supported?(platform)
166-
[:ios, :android].include?(platform)
166+
true
167167
end
168168
end
169169
end

lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_betabuild_prechecks.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def self.authors
9191
end
9292

9393
def self.is_supported?(platform)
94-
platform == :ios
94+
[:ios, :mac].include?(platform)
9595
end
9696
end
9797
end

lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_build_prechecks.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def self.authors
6767
end
6868

6969
def self.is_supported?(platform)
70-
platform == :ios
70+
[:ios, :mac].include?(platform)
7171
end
7272
end
7373
end

lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_build_preflight.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def self.authors
7070
end
7171

7272
def self.is_supported?(platform)
73-
platform == :ios
73+
[:ios, :mac].include?(platform)
7474
end
7575
end
7676
end

lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_bump_version_beta.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def self.authors
4444
end
4545

4646
def self.is_supported?(platform)
47-
platform == :ios
47+
[:ios, :mac].include?(platform)
4848
end
4949

5050
private

lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_bump_version_hotfix.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def self.authors
7575
end
7676

7777
def self.is_supported?(platform)
78-
platform == :ios
78+
[:ios, :mac].include?(platform)
7979
end
8080

8181
private

lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_bump_version_release.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def self.authors
8484
end
8585

8686
def self.is_supported?(platform)
87-
platform == :ios
87+
[:ios, :mac].include?(platform)
8888
end
8989

9090
private

lib/fastlane/plugin/wpmreleasetoolkit/actions/ios/ios_check_beta_deps.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def self.authors
5555
end
5656

5757
def self.is_supported?(platform)
58-
platform == :ios
58+
[:ios, :mac].include?(platform)
5959
end
6060
end
6161
end

0 commit comments

Comments
 (0)