juhp / hkgr

Hackager tool for releasing Haskell packages to Hackage
https://hackage.haskell.org/package/hkgr
GNU General Public License v3.0
29 stars 1 forks source link

Fails to tag #3

Open domenkozar opened 2 years ago

domenkozar commented 2 years ago
hkgr tagdist
v0.8.1
fatal: repository '..' does not exist
Resetting tag
Deleted tag 'v0.8.1' (was 561e402)
hkgr: Received ExitFailure 128 when running
Raw command: git clone -q --no-checkout .. .

I'm running it in cachix subfolder in a repository that has cachix.cabal.

juhp commented 1 year ago

Oh, sorry I quite missed this - thanks for the report.

The problem is currently hkgr stupidly assumes the .cabal file lives in the top of the git repo. It wasn't really designed so far for complex/multi-package repos unfortunately. This is certainly a workflow I would like to support. Do you keep both cachix and cachix-api versioning in lockstep? (This is also related to #4.)