Skip to content

Commit 2aee2fd

Browse files
Update CONTRIBUTING.md: KeyCDN -> Cloudflare R2 (#7745)
* Update CONTRIBUTING.md: KeyCDN -> Cloudflare R2 * Link to R2 dev docs
1 parent d36dd91 commit 2aee2fd

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -276,11 +276,9 @@ yarn workspace playground build
276276
yarn workspace playground test
277277
```
278278

279-
### Publishing the Playground Bundle on our KeyCDN
279+
### Publishing the Playground Bundle on Cloudflare R2
280280

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.
284282

285283
The full release can be executed with the following make script:
286284

@@ -379,8 +377,8 @@ To build a new version and release it on NPM, follow these steps:
379377
1. Verify that the version number is already set correctly for the release. (It should have been incremented after releasing the previous version.)
380378
1. Create a PR to update `CHANGELOG.md`, removing the "(Unreleased)" for the version to be released.
381379
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.
384382
1. Run `npm info rescript` to verify that the new version is now present with tag "ci".
385383
1. Test the new version.
386384
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:
391389
- Increment the `EXPECTED_VERSION` number in `yarn.config.cjs` for the next version.
392390
- Run `yarn constraints --fix` to take that version number over into other files.
393391
- 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).
395392

396393
## Debugging issues from CI builds
397394

0 commit comments

Comments
 (0)