git.iko.soy/rowtype-yoga/package-sets
on master help sign in
Add RELEASE_GUIDE.md (#1073)

* Add release guide * Add note about purescript-metadata; fix numbers

commit3b510840e8d9f08c34df1f9c6b2e21b61b017412 authorJordanMartinez <jordanalex.martinez@protonmail.com> dateSat 26 Feb 2022, 18:37 (5 years ago) parent88e86b6
1 file changed+17
RELEASE_GUIDE.md+17
RELEASE_GUIDE.mdnew file+17
@@ -0,0 +1,17 @@
1+# Release Guide
2+
3+1. If a new PureScript version has been made, push a new empty commit to `purescript/purescript-metadata` using the name of the tag: `git commit --allow-empty -m "v0.14.7" && git tag v0.14.7 && git push && git push v0.14.7`
4+
5+2. If a new PureScript version has been made, submit and get merged a PR to [`justinwoo/easy-purescript-nix`](https://github.com/justinwoo/easy-purescript-nix) that adds a file for the next purescript version. See [justinwoo/easy-purescript-nix#170](https://github.com/justinwoo/easy-purescript-nix/pull/170) for an example.
6+
7+```sh
8+PURS_VERSION=v0.14.7
9+nix-prefetch-url "https://github.com/purescript/purescript/releases/download/$PURS_VERSION/macos.tar.gz"
10+nix-prefetch-url "https://github.com/purescript/purescript/releases/download/$PURS_VERSION/linux64.tar.gz"
11+```
12+
13+3. Submit and get merged a PR to this repo with the following changes:
14+ - If a new PureScript version has been meade, upgrade this repo's `default.nix` file to the latest version of `easy-purescript-nix`
15+ - Update this repo's `release.sh`'s `LATEST_PURS` variable to the latest version (e.g. `0.14.7`)
16+
17+4. Run `./release.sh` locally