fix(ci): handle case where no tags are present in git #26
Reference in New Issue
Block a user
Delete Branch "fix-git-tag-command-fallover"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Modify the command to describe the latest tag to gracefully handle
the scenario where no tags are available. This avoids potential
errors in the script execution when the git repository is
tagless, ensuring the CI pipeline runs smoothly under all
circumstances.