Skip to content

Commit 41cde75

Browse files
authored
Merge pull request #2988 from reedsa/release-check-upstream
Pre-release check for upstream configuration of remote
2 parents 4ee4c86 + 8046826 commit 41cde75

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ notes:
6464
git commit -m "Compile release notes"
6565

6666
release: clean
67-
# require that you be on a branch that's linked to upstream/main
68-
git status -s -b | head -1 | grep "\.\.upstream/main"
67+
# require that upstream is configured for ethereum/web3.py
68+
git remote -v | grep "upstream\tgit@github.com:ethereum/web3.py.git (push)\|upstream\thttps://github.com/ethereum/web3.py (push)"
6969
./newsfragments/validate_files.py is-empty
7070
# verify that docs build correctly
7171
make build-docs

newsfragments/2988.internal.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update make release to check remote upstream is pointing to ethereum/web3.py.

0 commit comments

Comments
 (0)