haskell-release-action
haskell-release-action copied to clipboard
Re-apply the git tag after bumping the cabal version
Tested against https://github.com/sandydoo/haskell-release-action-test.
I'm not sure how I feel about this 😂
The person pushing the original tag will have issues pulling in the release if the two tags match. The release could be prefixed, but we'll still end up littering the repo with the original tags. 🤷
Maybe it makes sense to explore a different release approach? Maybe pushing to release branch?
If we use different tag names for the tag that triggers CI vs the final release tag, then we should _not delete the trigger tag. Deleting it will re-run the CI if it's pushed again.
Ideally we'd use release/v* branch by default (configurable) and split the action into two bits:
a) bumping cabal inside the branch b) doing hackage upload and tag once it's merged