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:
parent
5350bafa3e
commit
fb583cf0fa
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user