Skip to content

Conversation

sejas
Copy link
Member

@sejas sejas commented May 20, 2025

Related issues

Proposed Changes

  • Migrate Fastline release uploads to Apps CDN.
  • Upgrade the wpmreleasetoolkit gem to version 13.

Testing Instructions

Make sure you have all the build files in the out folder. You can download them from buildkite.

out
├── make
│   └── squirrel.windows
│       └── x64
│           ├── RELEASES
│           ├── studio-setup.exe
│           └── studio-update.nupkg
├── Studio-appx-unsigned
│   └── studio-win32-v1.5.6-unsigned.appx
├── Studio-darwin-arm64
│   └── Studio.app.zip
├── Studio-darwin-arm64.dmg
├── Studio-darwin-x64
│   └── Studio.app.zip
└── Studio-darwin-x64.dmg
  1. Test dev build distribution (dry run):
DRY_RUN=true BUILDKITE_BUILD_NUMBER=9999 bundle exec fastlane distribute_dev_build
  1. Check the file_paths point to existing files.

  2. Upload files to Apps CDN
    You can grab the WPCOM_API_TOKEN from the secret store.

WPCOM_API_TOKEN=12546 BUILDKITE_BUILD_NUMBER=1338 bundle exec fastlane distribute_dev_build
  1. Check the files exist on:

https://appscdn.wordpress.com/products/wordpress-com-studio/

  1. Confirm the https://appscdn.wordpress.com/builds/wordpress-com-studio/releases.json include the correct versions.

  2. To see the valid parameters that upload_build_to_apps_cdn accepts, you can execute:

bundle exec fastlane action upload_build_to_apps_cdn

Pre-merge Checklist

  • Have you checked for TypeScript, React or other console errors?

@sejas sejas self-assigned this May 20, 2025
@sejas sejas changed the title Upgrade wpmreleasetoolkit to v13 to use upload_build_to_apps_cdn Migrate release uploads to Apps CDN May 20, 2025
@wojtekn wojtekn requested a review from Copilot June 9, 2025 12:34
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Purpose: Migrate release uploads to Apps CDN by updating CDN URLs and related tooling.

  • Update CDN URLs in the release manifest generation script.
  • Update documentation to reference the correct manifest script filename.
  • Upgrade the fastlane-plugin-wpmreleasetoolkit gem to version 13.

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
scripts/generate-releases-manifest.mjs Updated CDN URLs to point to Apps CDN.
docs/versioning-and-updates.md Adjusted script filename reference in documentation.
Gemfile Upgraded fastlane-plugin-wpmreleasetoolkit to v13.

@sejas sejas marked this pull request as ready for review June 11, 2025 09:12
@sejas sejas requested review from wojtekn and a team August 13, 2025 17:59
@sejas
Copy link
Member Author

sejas commented Aug 14, 2025

We shouldn't merge this PR until STU-707 is solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants