Skip to content

Commit

Permalink
Added a release checklist
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentRDC committed Dec 8, 2024
1 parent fc98243 commit c0c1416
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions RELEASE-CHECKLIST.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Releasing new versions of Repa packages

1. Update the versions in Cabal files and update the `CHANGELOG.md` files to describe changes associated with these version;
2. Commit changes;
3. Tag the commit and push to GitHub:

```bash
$ git tag -a "vW.X.Y.Z" && git push origin "vW.X.Y.Z"
```

4. Create source distributions:

```bash
$ cabal sdist all
Wrote tarball sdist to
(...)/dist-newstyle/sdist/<pkg>-W.X.Y.Z.tar.gz
```

5. Upload to Hackage:

```bash
$ cabal upload --publish (...)/dist-newstyle/sdist/*
```

That's it!

0 comments on commit c0c1416

Please sign in to comment.