forked from purescript/package-sets
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add RELEASE_GUIDE.md (purescript#1073)
* Add release guide * Add note about purescript-metadata; fix numbers
- Loading branch information
1 parent
88e86b6
commit 3b51084
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Release Guide | ||
|
||
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` | ||
|
||
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. | ||
|
||
```sh | ||
PURS_VERSION=v0.14.7 | ||
nix-prefetch-url "https://github.com/purescript/purescript/releases/download/$PURS_VERSION/macos.tar.gz" | ||
nix-prefetch-url "https://github.com/purescript/purescript/releases/download/$PURS_VERSION/linux64.tar.gz" | ||
``` | ||
|
||
3. Submit and get merged a PR to this repo with the following changes: | ||
- If a new PureScript version has been meade, upgrade this repo's `default.nix` file to the latest version of `easy-purescript-nix` | ||
- Update this repo's `release.sh`'s `LATEST_PURS` variable to the latest version (e.g. `0.14.7`) | ||
|
||
4. Run `./release.sh` locally |