Skip to content

Commit

Permalink
Fix patch file path
Browse files Browse the repository at this point in the history
Fixes errors when generating a to-be-applied patch like the following:
```sh
[13:26:24.999 Information] /tmp/tmprjqpg5.tmp: line 17: ../artifacts/proto.patch: No such file or directory
```
  • Loading branch information
alex-mccarthy-unity committed Mar 7, 2024
1 parent b5391a0 commit 903d99c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .yamato/protobuf-generation-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ test_linux_protobuf_generation:
git diff --exit-code -- :/ ":(exclude,top)$CS_PROTO_PATH/*.meta" \
|| { GIT_ERR=$?; echo "protobufs need to be regenerated, apply the patch uploaded to artifacts."; \
echo "Apply the patch with the command 'git apply proto.patch'"; \
git diff -- :/ ":(exclude,top)$CS_PROTO_PATH/*.meta" > ../artifacts/proto.patch; exit $GIT_ERR; }
git diff -- :/ ":(exclude,top)$CS_PROTO_PATH/*.meta" > artifacts/proto.patch; exit $GIT_ERR; }
triggers:
cancel_old_ci: true
expression: |
Expand Down

0 comments on commit 903d99c

Please sign in to comment.