You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Publishing the Playground Bundle on our KeyCDN
279
+
### Publishing the Playground Bundle on Cloudflare R2
280
280
281
-
> Note: If you want to publish from your local machine, make sure to set the `KEYCDN_USER` and `KEYCDN_PASSWORD` environment variables accordingly (credentials currently managed by @ryyppy). Our CI servers / GH Action servers are already pre-configured with the right env variable values.
282
-
283
-
Our `compiler.js` and third-party packages bundles are hosted on [KeyCDN](https://www.keycdn.com) and uploaded via FTPS.
281
+
Our `compiler.js` and third-party packages bundles are hosted on [Cloudflare R2](https://developers.cloudflare.com/r2/) and uploaded via Rclone.
284
282
285
283
The full release can be executed with the following make script:
286
284
@@ -379,8 +377,8 @@ To build a new version and release it on NPM, follow these steps:
379
377
1. Verify that the version number is already set correctly for the release. (It should have been incremented after releasing the previous version.)
380
378
1. Create a PR to update `CHANGELOG.md`, removing the "(Unreleased)" for the version to be released.
381
379
1. Once that PR is merged and built successfully, tag the commit with the version number (e.g., "v10.0.0", or "v10.0.0-beta.1") and push the tag.
382
-
1. This triggers a tag build that will upload the playground bundle to KeyCDN and publish the `rescript` and `@rescript/std` npm packages with the tag "ci".
383
-
1. Verify that the playground bundle for the new version is now present on https://cdn.rescript-lang.org/.
380
+
1. This triggers a tag build that will upload the playground bundle to Cloudflare R2 and publish the `rescript` and `@rescript/std` npm packages with the tag "ci".
381
+
1. Verify that the playground bundle for the new version is now present on the settings tab in https://rescript-lang.org/try.
384
382
1. Run `npm info rescript` to verify that the new version is now present with tag "ci".
385
383
1. Test the new version.
386
384
1. Tag the new version as appropriate (`latest` or `next`):
@@ -391,7 +389,6 @@ To build a new version and release it on NPM, follow these steps:
391
389
- Increment the `EXPECTED_VERSION` number in `yarn.config.cjs` for the next version.
392
390
- Run `yarn constraints --fix` to take that version number over into other files.
393
391
- Update `CHANGELOG.md` and add an entry for the next version, e.g., "10.0.0-beta.2 (Unreleased)"
394
-
1. Coordinate any forum/blog posts with [@ryyppy](https://github.com/ryyppy).
0 commit comments