In the file cr.sh you use the function lookup_latest_tag() to download all the tags and later on, calculate the next release to create.
lookup_latest_tag() {
git fetch --tags > /dev/null 2>&1
if ! git describe --tags --abbrev=0 2> /dev/null; then
git rev-list --max-parents=0 --first-parent HEAD
fi
}
Unfortunately git fetch --tags don't work as expected and miss the last tags.
To avoid this problem i put a git pull --tags to force this process. And all work as expected
In the file cr.sh you use the function
lookup_latest_tag()
to download all the tags and later on, calculate the next release to create.Unfortunately
git fetch --tags
don't work as expected and miss the last tags. To avoid this problem i put agit pull --tags
to force this process. And all work as expected