Publish Haskell bindings to Hackage#428
Open
jupblb wants to merge 3 commits into
Open
Conversation
trly
approved these changes
Jun 1, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Wires up Haskell binding publication to Hackage. Adds a
publish-haskell-bindingsjob torelease.yaml(alongside the existing Rust/JVM/Go publish jobs) and preparesbindings/haskell/scip.cabalfor Hackage with proper metadata bounds, a source-repository pointer, andGHC2024as the default language.Post-merge: claim the
scipname on HackageHackage versions are immutable — once
0.7.1is published it can never be re-uploaded. The first publish therefore goes through the candidate channel so we can preview the rendered package page before committing.From a maintainer's machine on
main:Review the candidate at https://hackage.haskell.org/package/scip-0.7.1/candidate — verify the rendered README, that the source-repository link targets
bindings/haskell, the license is detected as Apache-2.0, and the dependency bounds look right.When satisfied, publish:
nix develop -c cabal upload --publish --token="$HACKAGE_TOKEN" \ dist-newstyle/sdist/scip-0.7.1.tar.gz(Or click Publish candidate on the Hackage UI.)
This claims the
scipname for the Hackage account behindHACKAGE_TOKENand seeds the maintainer group with that account. From the next release onwards the workflow handles publication automatically.