serokell / tezos-packaging

Various forms of Tezos software distribution for Linux and macOS.
MIT License
60 stars 21 forks source link

[Chore] Supress 'git commit' non-zero exit codes in update-tezos.sh #774

Closed rvem closed 8 months ago

rvem commented 8 months ago

Description

Problem: It's possible that release number, 'letter_version', and lists of binaries and protocols aren't going to be updated when creating a PR that introduces the new Octez version. However, 'git commit' return non-zero exit code when one attempts to commit empty diff. As a result, 'update-tezos.sh' may fail in CI.

Solution: Supress 'git commit' non-zero exit code.

Related issue(s)

Resolves #

Related changes (conditional)

Stylistic guide (mandatory)