Fix up paths during boms

This commit is contained in:
andrewc
2025-05-20 16:18:41 +10:00
parent 2663e63353
commit e1c997756c

View File

@@ -138,7 +138,6 @@ image:
- client=$(echo $CI_PROJECT_PATH | cut -d'/' -f3 | sed -r 's/\<./\U&/g') - client=$(echo $CI_PROJECT_PATH | cut -d'/' -f3 | sed -r 's/\<./\U&/g')
- proj=$(echo $CI_PROJECT_NAME | tr -d '0123456789' | tr '-' ' ' | sed -r 's/\<./\U&/g') - proj=$(echo $CI_PROJECT_NAME | tr -d '0123456789' | tr '-' ' ' | sed -r 's/\<./\U&/g')
- desc_suffix=$(echo $client $proj) - desc_suffix=$(echo $client $proj)
- cd $CI_PROJECT_DIR/.gitlab/.scripts/ki-ntree/
- url="https://gitlab.com/api/v4/projects/${DIGI_API_PRJ_ID}/packages/generic/digikey_api/0/token_storage.json" - url="https://gitlab.com/api/v4/projects/${DIGI_API_PRJ_ID}/packages/generic/digikey_api/0/token_storage.json"
- | - |
if [[ -z "$KINTREE_DIGI_TOKEN" ]]; then if [[ -z "$KINTREE_DIGI_TOKEN" ]]; then
@@ -151,7 +150,7 @@ image:
- 'SEARCH="bom.csv"' - 'SEARCH="bom.csv"'
- !reference [.commands, strip_tag] - !reference [.commands, strip_tag]
- !reference [.commands, get_files] - !reference [.commands, get_files]
- cd $CI_PROJECT_DIR/.gitlab/.scripts/ki-ntree/ - cd $CI_PROJECT_DIR
- FAIL=0 - FAIL=0
- | - |
for f in $FILES for f in $FILES