update the grep command for upstream branch check

- Sometimes 'www.' is used in the url for https
This commit is contained in:
fselmo
2023-11-07 12:07:54 -07:00
parent 885bef7b5e
commit 3c65483121

View File

@ -67,7 +67,9 @@ notes: check-bump
release: check-bump clean
# require that upstream is configured for ethereum/<REPO_NAME>
git remote -v | grep "upstream\tgit@github.com:ethereum/<REPO_NAME>.git (push)\|upstream\thttps://github.com/ethereum/<REPO_NAME> (push)"
@git remote -v | grep \
-e "upstream\tgit@github.com:ethereum/<REPO_NAME>.git (push)" \
-Ee "upstream\thttps://(www.)?github.com/ethereum/<REPO_NAME> \(push\)"
# verify that docs build correctly
./newsfragments/validate_files.py is-empty
make build-docs