diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2023-04-28 07:29:05 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2023-04-28 07:29:05 -0400 |
commit | f6388c393af842bd432237cf9b5d69adf3de4407 (patch) | |
tree | 06be83c1f7b3c248ddaedb0bd01644304b92bf37 | |
parent | 78a258f521a2f298b66463359c106fc4a2c38002 (diff) | |
download | python-coveragepy-git-f6388c393af842bd432237cf9b5d69adf3de4407.tar.gz |
build: make a branch and commit for upgrading
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -89,6 +89,7 @@ metasmoke: PIP_COMPILE = pip-compile --upgrade --allow-unsafe --resolver=backtracking upgrade: export CUSTOM_COMPILE_COMMAND=make upgrade upgrade: ## Update the *.pip files with the latest packages satisfying *.in files. + git switch -c nedbat/upgrade-$$(date +%Y%m%d) pip install -q -r requirements/pip-tools.pip $(PIP_COMPILE) -o requirements/pip-tools.pip requirements/pip-tools.in $(PIP_COMPILE) -o requirements/pip.pip requirements/pip.in @@ -100,6 +101,7 @@ upgrade: ## Update the *.pip files with the latest packages satisfying *.in $(PIP_COMPILE) -o doc/requirements.pip doc/requirements.in $(PIP_COMPILE) -o requirements/lint.pip doc/requirements.in requirements/dev.in $(PIP_COMPILE) -o requirements/mypy.pip requirements/mypy.in + git commit -am "chore: make upgrade" diff_upgrade: ## Summarize the last `make upgrade` @# The sort flags sort by the package name first, then by the -/+, and |