Skip to content

Commit 36fdef6

Browse files
committed
Add release instructions to DEVELOPER.md
1 parent 159fb9d commit 36fdef6

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

DEVELOPER.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,13 @@ CI on GitHub Actions
99
The GHC workflow file `.github/workflows/haskell-ci.yml` is generated by:
1010

1111
haskell-ci regenerate
12+
13+
Releasing a new version of happy
14+
================================
15+
16+
There are release scripts `./hackage-upload.sh` and `lib/hackage-upload.sh` to upload new releases to hackage.
17+
These scripts include some sanity checks for issues that have caused problems for past releases.
18+
`lib/hackage-upload.sh` must be run before `./hackage-upload.sh`, otherwise the latter fails.
19+
Both scripts take an optional `--publish` argument that is forwarded to `cabal upload`.
20+
If this flag is not present, only a package candidate will be uploaded.
21+

0 commit comments

Comments
 (0)