mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-17 03:48:09 +00:00
13 lines
384 B
Bash
Executable File
13 lines
384 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
git fetch origin master:master # on CIs it is common to fetch only the current branch
|
|
|
|
messages=$(git log --format=%s master..) # commit messages between this branch and master
|
|
|
|
if [[ $messages =~ "fixup!" ]]; then
|
|
echo 'Failure: Some commit message contains "fixup!" string.'
|
|
exit 1
|
|
else
|
|
echo 'Success: No commit messages containing "fixup!" string.'
|
|
fi
|