I have a (potentially public) development branch for a Haskell project that I also release to Haddock. The head of my release branch always (naturally) has a .cabal
file with a version corresponding to the current Haddock version.
But what version should I have in the .cabal
file on my development branch? For example, after releasing version 0.1.2.6
on Hackage, no subsequent commit anywhere (esp. along a development branch) is version 0.1.2.6
, nor are they (yet) 0.1.2.7
. What version should such commits be? Is there a standard practice, either for Hackage in particular, or source control in general (recalling that Cabal imposes restrictions on the values that version
can take)?