# Changelog ## 0.4 (2022-03-27) - template.cabal: use cabal 2.0 and define hs-source-dirs - 'tagdist --existing-tag' replaces 'dist' command - 'upload': add --existing-tag for dist rather than tagdist - 'new': stack init with lts-17 - 'rename': experimental command to rename a project - add '--no-hlint' option to skip running hlint (also hlint is no longer run for 'publish') ## 0.3 (2020-05-07) - only read Hackage username/password if not in ~/.cabal/config - 'upload': show newer untagged commits - 'dist': new command for a manually tagged release - fix the check for package version committed ## 0.2.7 (2020-02-27) - Main.hs: explicitly export main and add SPDX-License-Identifier - move Main.hs to src/ - handle git submodules (not --recursive yet) - use typed-process to interleave IO to display auth errors - check name and .cabal filename consistent - put tarballs in .hkgr/ - upload: error if tag no longer on branch - publish: only push up to tag ## 0.2.6.1 (2020-07-30) - upload: do not hide output since it conceals any error - new: improvements to work better with cabal-3.0 init ## 0.2.6 (2020-06-11) - tagdist: include existing tag in error message - experimental 'new' project command with user template file `~/.config/hkgr/template.cabal` - switch to cabal v2-sdist - upload: display error correctly - upload: add --force switch - to refresh tag and tarball ## 0.2.5.2 (2020-02-29) - no hlint summary - fix published message ## 0.2.5.1 (2020-02-29) - improve output for hlint and uploaded url - also check for staged changes ## 0.2.5 (2020-02-29) - check that package version is committed - use quiet cabal v1-configure and v1-sdist commands - make cabal upload quiet ## 0.2.4.1 (2020-02-11) - assert that cabal-install installed - run hlint in git checkout instead of working tree ## 0.2.4 (2019-10-05) - git push before publishing - only push up to tag ## 0.2.3 (2019-09-30) - push git tag - hlint is now a warning not an error - prefix version tags with v - surround git diff output with quote lines - catch exception for sdist ## 0.2.2 (2019-07-06) - run hlint before git tag - relax force sdist when no existing tarball - show git diff to warn project dirty ## 0.2.1 (2019-06-24) - fix creation of published symlink lockfile - tagdist before `cabal upload` if no tarball ## 0.2 (2019-06-24) - merge tag and dist commands into tagdist - if sdist fails then reset tag - drop push-tags command ## 0.1 (2019-06-24) - add published lock file: prevents tagging/dist/upload after publish - tag before sdist if no tag - push tag after publishing ## 0.0 (2019-06-08) * Initially created.