mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
Update Makefile
remove unneeded upstream git check
This commit is contained in:
5
Makefile
5
Makefile
@ -106,11 +106,6 @@ ifndef bump
|
||||
endif
|
||||
|
||||
check-git:
|
||||
# require that you be on a branch that's linked to upstream/main
|
||||
@if ! git status -s -b | head -1 | grep -q "\.\.upstream/main"; then \
|
||||
echo "Error: You must be on a branch that's linked to upstream/main"; \
|
||||
exit 1; \
|
||||
fi
|
||||
# require that upstream is configured for ethereum/<REPO_NAME>
|
||||
@if ! git remote -v | grep "upstream[[:space:]]git@github.com:ethereum/<REPO_NAME>.git (push)\|upstream[[:space:]]https://github.com/ethereum/<REPO_NAME> (push)"; then \
|
||||
echo "Error: You must have a remote named 'upstream' that points to '<REPO_NAME>'"; \
|
||||
|
||||
Reference in New Issue
Block a user