👷 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user