File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 26
26
for file in DOCKERFILE_BASE , DOCKERFILE_LATEXPDF :
27
27
content = file .read_text (encoding = 'utf-8' )
28
28
content = re .sub (
29
- rf'{ re .escape (OPENCONTAINERS_VERSION_PREFIX )} = "{ VERSION_PATTERN } "' ,
30
- rf'{ OPENCONTAINERS_VERSION_PREFIX } = "{ VERSION } "' ,
29
+ rf'{ re .escape (OPENCONTAINERS_VERSION_PREFIX )} = "{ VERSION_PATTERN } "' ,
30
+ rf'{ OPENCONTAINERS_VERSION_PREFIX } = "{ VERSION } "' ,
31
31
content ,
32
32
)
33
33
content = re .sub (
39
39
40
40
41
41
def git (* args : str ) -> None :
42
- ret = subprocess .run (
42
+ subprocess .run (
43
43
('git' , * args ),
44
- capture_output = True ,
45
44
cwd = DOCKER_ROOT ,
46
45
check = True ,
47
46
text = True ,
48
47
encoding = 'utf-8' ,
49
48
)
50
- print (ret .stdout )
51
- print (ret .stderr , file = sys .stderr )
52
49
53
50
54
51
git ('checkout' , 'master' )
You can’t perform that action at this time.
0 commit comments