Skip to content
Snippets Groups Projects
Unverified Commit 50c9dd2c authored by Paweł Krupa's avatar Paweł Krupa Committed by GitHub
Browse files

Merge pull request #1326 from dgrisonnet/fix-versions-ci

Fix automated update in CI
parents 89b57081 24b0e699
No related branches found
No related tags found
No related merge requests found
......@@ -35,8 +35,8 @@ jobs:
make generate
# Reset jsonnetfile.lock.json if no dependencies were updated
changedFiles=$(git diff --name-only | grep -v 'jsonnetfile.lock.json')
if [[ $changedFiles == "" ]]; then
changedFiles=$(git diff --name-only | grep -v 'jsonnetfile.lock.json' | wc -l)
if [[ "$changedFiles" -eq 0 ]]; then
git checkout -- jsonnetfile.lock.json;
fi
- name: Create Pull Request
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment