Skip to content

Commit

Permalink
Update release instructions (#304)
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanMartinez authored Dec 13, 2022
1 parent 146d2c2 commit 9cfd618
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@
After making a new compiler release, do the following to redeploy Try PureScript using the new compiler.

1. Submit a PR with the following changes:
- In `stack.yaml`, update `purescript` (and possibly `purescript-cst`) to use its new version.
- If you are updating the package set, see the next section for instructions.
1. Once the PR is merged, create a new GitHub tagged release using `vYYYY-MM-DD.X` (where `X` is usually `1` or the release attempt) as the version schema. The release will trigger a GitHub Actions build.
2. Wait for the GitHub Actions build to finish (it builds the assets)
3. Run `./deploy/run.sh vX-X-X.1`, replacing `vX-X-X.1` with the version you created.
- In `stack.yaml`,
- update the `resolver` to match the same one used in the PureScript repo
- update `purescript` to use its new version.
- Update the package set (see next section's instructions).
- Update the shared config by running `cd client && npm run updateConfigVersions`.
- Update the changelog to include the next release's date.
2. Once the PR is merged, create a new GitHub tagged release using `vYYYY-MM-DD.X` (where `X` is usually `1` or the release attempt) as the version schema. The release will trigger a GitHub Actions build.
3. Wait for the GitHub Actions build to finish (it builds the assets)
4. Run `./deploy/run.sh vX-X-X.1`, replacing `vX-X-X.1` with the version you created.

## Updating the Package Set

Expand Down

0 comments on commit 9cfd618

Please sign in to comment.