Closed rymsha closed 3 years ago
Probable fix - look deeper in get_previous_release_tag
if tag found is actual head
PREVIOUS_RELEASE_TAG=$(git tag --sort=-version:refname --merged | grep -E '^v([[:digit:]]+\.){2}[[:digit:]]+$' | grep -v "$(git describe --tags)" | head -1)
should do the trick
Now when release happens on tag PREVIOUS_RELEASE_TAG finds the current tag, with 0 commits after it, hence no changes.
Other apps use similar changelog procedure, but tagging happens automatically (release happens on push, not on tag), and GH Action can pick up changes.