1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-17 21:22:10 +00:00

ci: fix release commit message check

This commit is contained in:
Tomas Susanka 2020-08-04 13:45:00 +02:00
parent 5350bafa3e
commit fb583cf0fa

View File

@ -14,7 +14,7 @@ do
# remove last ")" and extract commit hash
master_commit=$(echo ${message:0:-1} | tr ' ' '\n' | tail -1)
# check if master really contains this commit hash
if [[ $(git branch -a --contains $master_commit | grep --only-matching master) == "master" ]]; then
if [[ $(git branch -a --contains $master_commit | grep --only-matching "remotes/origin/master") == "remotes/origin/master" ]]; then
continue
fi
fi