{{ git.tag }} will display 3.0.0 if the last tag is 3.0.0-beta5.
I think there are many ways to fix this. Here is one idea.
[root@localhost helm-ezplatform]# git describe --tags
3.0.0-beta5-12-gfb09168
[root@localhost helm-ezplatform]# git tag --list | sort -V | tail -n1
3.0.0-beta5
{{ git.tag }} will display 3.0.0 if the last tag is 3.0.0-beta5.
I think there are many ways to fix this. Here is one idea.