For some reason git tag --sort version:refname | tail -1 does not appear to return the correct branch tag. (Probably because we prepended v to the tag for some releases, messing up the sorting)
We should explore other ways of retrieving the tag for the current release.
It may be as simple as using env.TAG_NAME.
For some reason
git tag --sort version:refname | tail -1
does not appear to return the correct branch tag. (Probably because we prepended v to the tag for some releases, messing up the sorting) We should explore other ways of retrieving the tag for the current release. It may be as simple as usingenv.TAG_NAME
.