Files
trezor-suite/scripts/ci/check_branch_name.sh
2024-07-04 12:49:48 +02:00

13 lines
279 B
Bash
Executable File

#!/usr/bin/env bash
echo "branch name:"
echo "$1"
if [[ $1 == *"@"* || $1 == *"#"* ]]; then
# having @ in branch name is causing some problems with deploy and test jobs
echo "bad branch name. please remove @ or # from your branch name"
exit 1
fi
echo "good branch name"