Here an error is returned if targetCommitish is a tag. I understand that GitHub doesn’t allow tags (though not why), but I don’t understand why release-drafter can’t just resolve the commit that a tag points to and use that.
We have a nightly tag that is updated nightly, and we trigger release-drafter on pushes to that tag. When we do, the release ends up using main as a target.
Here an error is returned if
targetCommitish
is a tag. I understand that GitHub doesn’t allow tags (though not why), but I don’t understand why release-drafter can’t just resolve the commit that a tag points to and use that.We have a
nightly
tag that is updated nightly, and we trigger release-drafter on pushes to that tag. When we do, the release ends up using main as a target.At the very least the docs could be improved.