Commit 74ecaca2 authored by Mark Canterbury's avatar Mark Canterbury
Browse files

Git diff confuses me

parent d7de3d11
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:${COMMIT_TOKEN}@host/group/repo.git
    - DIFF=$(git diff -- 103280\TS_103_280.json)
    - DIFF=$(git diff main -- 103280\TS_103_280.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