mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
1.6 KiB
1.6 KiB
GF Core releases
🚨 WARNING! The information here is preliminary!
Creating a new release
1. Prepare the repository
Web pages
- Create
download/index-X.Y.mdwith installation instructions. - Create
download/release-X.Y.mdwith changelog information. - Update
download/index.htmlto redirect to the new version. - Add announcement in news section in
index.html
Version numbers
- Update version number in
gf.cabal(ommitting-gitsuffix) - Add a new line in
debian/changelog
2. Create GitHub release
- When the above changes are committed to the
masterbranch in the repository, check that all builds are successful:
- https://github.com/GrammaticalFramework/gf-core/actions
- https://travis-ci.org/github/GrammaticalFramework/gf-core
- Create a GitHub release here: https://github.com/GrammaticalFramework/gf-core/releases/new
with a tag format
RELEASE-X.Y
3. Binary packages
Build and attach binaries to the release by running the relevant GitHub Actions workflows (TODO):
- Go to https://github.com/GrammaticalFramework/gf-rgl/actions
- Click "Build [platform] package" under Workflows
- Click "Run workflow" and specify the tag
RELEASE-X.Y
4. Upload to Hackage
- Run
make sdist - Visit
https://hackage.haskell.org/uploadand upload the filedist/gf-X.Y.tar.gz, OR upload directly with Cabal (≥2.4):cabal upload dist/gf-X.Y.tar.gz - If the documentation-building fails on the Hackage server, do:
cabal v2-haddock --builddir=dist/docs --haddock-for-hackage --enable-doc
cabal upload --documentation dist/docs/*-docs.tar.gz