Skip to content

Commit

Permalink
only commit if something has changed
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrildiagne committed Feb 16, 2020
1 parent ef53b63 commit ea32c28
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dev/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ rm scripts/*.bak
git add scripts/get-cli.sh

if git diff --exit-code; then
echo "nothing to commit"
else
git commit -m "update get script to version $VERSION"
fi

Expand Down

0 comments on commit ea32c28

Please sign in to comment.