-
Notifications
You must be signed in to change notification settings - Fork 409
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
89b0ba5
commit d1aaeb2
Showing
1 changed file
with
25 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,25 @@ | ||
# Releasing a new version of hakyll | ||
|
||
1. Update the version in `hakyll.cabal` and update the `CHANGELOG.md` file to describe changes associated with this version; | ||
2. Commit changes to `hakyll.cabal` and `CHANGELOG.md`; | ||
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 a source distribution: | ||
|
||
```bash | ||
$ cabal sdist | ||
Wrote tarball sdist to | ||
(...)/dist-newstyle/sdist/hakyll-W.X.Y.Z.tar.gz | ||
``` | ||
|
||
5. Upload to Hackage: | ||
|
||
```bash | ||
$ cabal upload --publish (...)/dist-newstyle/sdist/hakyll-W.X.Y.Z.tar.gz | ||
``` | ||
|
||
That's it! |