Merge pull request #112 from fselmo/update-upstream-check-grep

Makefile updates
This commit is contained in:
felipe
2023-11-07 12:53:06 -07:00
committed by GitHub

View File

@ -63,11 +63,13 @@ notes: check-bump
towncrier build --yes --version $(UPCOMING_VERSION)
# Before we bump the version, make sure that the towncrier-generated docs will build
make build-docs
git commit -m "Compile release notes"
git commit -m "Compile release notes for v$(UPCOMING_VERSION)"
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