Skip to content

Commit f6388c3

Browse files
committedApr 28, 2023
build: make a branch and commit for upgrading
1 parent 78a258f commit f6388c3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ metasmoke:
8989
PIP_COMPILE = pip-compile --upgrade --allow-unsafe --resolver=backtracking
9090
upgrade: export CUSTOM_COMPILE_COMMAND=make upgrade
9191
upgrade: ## Update the *.pip files with the latest packages satisfying *.in files.
92+
git switch -c nedbat/upgrade-$$(date +%Y%m%d)
9293
pip install -q -r requirements/pip-tools.pip
9394
$(PIP_COMPILE) -o requirements/pip-tools.pip requirements/pip-tools.in
9495
$(PIP_COMPILE) -o requirements/pip.pip requirements/pip.in
@@ -100,6 +101,7 @@ upgrade: ## Update the *.pip files with the latest packages satisfying *.in
100101
$(PIP_COMPILE) -o doc/requirements.pip doc/requirements.in
101102
$(PIP_COMPILE) -o requirements/lint.pip doc/requirements.in requirements/dev.in
102103
$(PIP_COMPILE) -o requirements/mypy.pip requirements/mypy.in
104+
git commit -am "chore: make upgrade"
103105

104106
diff_upgrade: ## Summarize the last `make upgrade`
105107
@# The sort flags sort by the package name first, then by the -/+, and

0 commit comments

Comments
 (0)
Please sign in to comment.