We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08545e5 commit e07f8efCopy full SHA for e07f8ef
.bumpversion.cfg
@@ -1,6 +1,10 @@
1
[bumpversion]
2
current_version = 3.4.2
3
4
+[bumpversion:file:./check-matplotlib-version.py]
5
+search = __version__ == '{current_version}'
6
+replace = __version__ == '{new_version}'
7
+
8
[bumpversion:glob:./handout-*.tex]
9
search = Matplotlib {current_version}
10
replace = Matplotlib {new_version}
Makefile
@@ -35,6 +35,7 @@ handouts:
35
36
.PHONY: check
37
check:
38
+ ./check-matplotlib-version.py
39
./check-num-pages.sh cheatsheets.pdf 2
40
./check-num-pages.sh handout-tips.pdf 1
41
./check-num-pages.sh handout-beginner.pdf 1
check-matplotlib-version.py
@@ -0,0 +1,5 @@
+#!/usr/bin/env python
+import matplotlib as mpl
+assert mpl.__version__ == '3.4.2'
0 commit comments