Cleanup tag functions
This commit is contained in:
@@ -34,8 +34,6 @@ image:
|
||||
- if: $CI_COMMIT_BRANCH == "dev"
|
||||
|
||||
.commands:
|
||||
get_tag:
|
||||
- TAG=$(echo ${CI_COMMIT_MESSAGE} | tr -d \\n)
|
||||
get_files:
|
||||
- FILES=$(find . -name *$SEARCH -not -path "./.gitlab/*")
|
||||
get_dirs:
|
||||
@@ -132,7 +130,7 @@ image:
|
||||
- poetry install
|
||||
- cd $CI_PROJECT_DIR/Fabrication
|
||||
- 'SEARCH="bom.csv"'
|
||||
- !reference [.commands, get_tag]
|
||||
- !reference [.commands, strip_tag]
|
||||
- !reference [.commands, get_files]
|
||||
- cd $CI_PROJECT_DIR/.gitlab/.scripts/ki-ntree/
|
||||
- |
|
||||
@@ -145,7 +143,7 @@ image:
|
||||
|
||||
|
||||
git_tag:
|
||||
- !reference [.commands, get_tag]
|
||||
- !reference [.commands, strip_tag]
|
||||
- |
|
||||
if [[ $GITLAB_CI == 'true' && $CI_COMMIT_BRANCH == "main" ]]; then
|
||||
echo "running git tag"
|
||||
|
||||
Reference in New Issue
Block a user