👷 ci(circleci): enhance tag generation logic

- add condition to handle empty package parameters for tagging
- ensure consistent tag format whether package parameter is present or not

Signed-off-by: Jeremiah Russell <jerry@jrussell.ie>
This commit is contained in:
Jeremiah Russell
2026-02-13 17:15:14 +00:00
parent e961af7815
commit 24b92fefc5

View File

@@ -91,7 +91,11 @@ commands:
exit 0
fi
if [ "" = "<< parameters.package >>" ]; then
TAG="v${VERSION}"
else
TAG="<< parameters.package >>-v${VERSION}"
fi
# Fetch tags from remote
git fetch --tags