Skip to content

Commit

Permalink
update the grep command for upstream branch check
Browse files Browse the repository at this point in the history
- Sometimes 'www.' is used in the url for https
  • Loading branch information
fselmo committed Nov 7, 2023
1 parent 885bef7 commit 3c65483
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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\[email protected]:ethereum/<REPO_NAME>.git (push)\|upstream\thttps://github.com/ethereum/<REPO_NAME> (push)"
@git remote -v | grep \
-e "upstream\[email protected]: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
Expand Down

0 comments on commit 3c65483

Please sign in to comment.