Commit 9c19aa92 authored by Mark Canterbury's avatar Mark Canterbury
Browse files

Bash rtfm

parent 97e72a7c
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -143,7 +143,7 @@ translate_schemas:
    - git config user.email "robo_lino@example.com"
    - git config user.name "robo_lino"
    - git remote set-url origin https://oauth2:${CI_ACCESS_TOKEN}@forge.etsi.org/rep/li/schemas-definitions.git
    - DIFF=$(git diff origin/$(CI_MERGE_REQUEST_TARGET_BRANCH_NAME) -- 103280/TS_103_280.schema.json)
    - DIFF=$(git diff origin/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME -- 103280/TS_103_280.schema.json)
    - echo $DIFF
    - if [ ! -z "$DIFF" ]; then echo "Changes detected"; fi 
#    - if [ ! -z "$DIFF" ]; then git checkout -b branch-${CI_JOB_ID}; git add file.yaml && git commit -m "Updated file.yaml" && git push -o ci.skip origin branch-${CI_JOB_ID}:${CI_COMMIT_REF_NAME}; fi