-
Notifications
You must be signed in to change notification settings - Fork 9
[AINFRA-1462] Add new platforms to upload_build_to_apps_cdn
#669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,8 +34,10 @@ class UploadBuildToAppsCdnAction < Action | |
| 'Mac - Silicon', | ||
| 'Mac - Intel', | ||
| 'Mac - Any', | ||
| 'Windows', | ||
| 'Microsoft Store', | ||
| 'Windows - x86', | ||
| 'Windows - ARM64', | ||
| 'Microsoft Store - x86', | ||
| 'Microsoft Store - ARM64', | ||
|
Comment on lines
-37
to
+40
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ℹ️ As discussed in https://linear.app/a8c/issue/AINFRA-1457/update-appscdn-backend-and-release-toolkit-for-new-windows#comment-646bbf97, we've agreed to get rid of the original plain |
||
| ].freeze | ||
| # See https://github.a8c.com/Automattic/wpcom/blob/trunk/wp-content/lib/a8c/cdn/src/enums/enum-install-type.php | ||
| VALID_INSTALL_TYPES = [ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,7 +4,7 @@ | |
| begin | ||
| $skip_magick = false | ||
| require 'RMagick' | ||
| rescue LoadError | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unrelated to this PR, but was necessary to fix a bug preventing me to run the tests ( |
||
| rescue LoadError, RuntimeError | ||
| $skip_magick = true | ||
| end | ||
| require 'json' | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ℹ️ I pondered marking this as breaking change, given the
'Windows'and'Microsoft Store'values that were previously valid are now invalid.That being said, because Studio is the only client that used those values, and will adopt the new
release-toolkitas soon as this PR is merged and a new version is released—since they are the ones who asked for those values—I figured it was not worth marking this as a breaking change per se.