- Regenerate source for
vulkan
andVulkanMemoryAllocator
- Clean submodules and regenerate documentation first to ensure it's up to date.
- If there are any changes commit those before proceeding
-
Bump version on
vulkan
inpackage.yaml
-
Bump version on
VulkanMemoryAllocator
-
Bump version of
vulkan
dependency inVulkanMemoryAllocator
-
Run hpack in
.
./VulkanMemoryAllocator
-
Make sure changelogs are up to date
./changelog.md
./VulkanMemoryAllocator/changelog.md
- Build documentation (So doc building for VMA works correctly)
cabal haddock --haddock-option="--hyperlinked-source"
- Build documentation for Hackage
cabal haddock --haddock-for-hackage --haddock-option="--hyperlinked-source"
- sdist
- unpack sdist elsewhere
- build sdl-triangle
- Observe it running
- Build documentation
cabal haddock --haddock-for-hackage --haddock-option="--hyperlinked-source" VulkanMemoryAllocator
- sdist
- unpack sdist elsewhere
- build
git tag vXXX
git push --tags
- Run
./scripts/gen-standalone-haddocks.sh
script pointing to a worktree on the gh-pages branch- Make sure to clean that directory first
(on my machine)
rm -rf ../vulkan-docs/*
nix-shell stack ghc
./scripts/gen-standalone-haddocks.sh ../vulkan-docs
cd ../vulkan-docs
git add .
git commit -m 'vXXX'
git push