File tree 2 files changed +9
-8
lines changed
2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 24
24
pass
25
25
26
26
27
- version = VERSION = __version__ = '2.0.3 '
27
+ version = VERSION = __version__ = '2.0.4 '
28
28
29
29
COLOR = True
30
30
@@ -287,12 +287,6 @@ def main(*argv, **kwargs):
287
287
if language == 'python' and os .getenv ('TOXENV' ):
288
288
include_env .add ('TOXENV' )
289
289
290
- # Merge Commits
291
- # -------------
292
- res = try_to_run ('git log -1 --pretty=%B' )
293
- if res and is_merge_commit .match (res .strip ()):
294
- query ['commit' ] = res .split (' ' )[1 ]
295
-
296
290
# --------
297
291
# Codeship
298
292
# --------
@@ -481,6 +475,13 @@ def main(*argv, **kwargs):
481
475
if codecov .commit :
482
476
query ['commit' ] = codecov .commit
483
477
478
+ else :
479
+ # Merge Commits
480
+ # -------------
481
+ res = try_to_run ('git log -1 --pretty=%B' )
482
+ if res and is_merge_commit .match (res .strip ()):
483
+ query ['commit' ] = res .split (' ' )[1 ]
484
+
484
485
if codecov .slug :
485
486
query ['slug' ] = codecov .slug
486
487
Original file line number Diff line number Diff line change 2
2
from setuptools import setup
3
3
import sys
4
4
5
- version = '2.0.3 '
5
+ version = '2.0.4 '
6
6
classifiers = ["Development Status :: 5 - Production/Stable" ,
7
7
"Environment :: Plugins" ,
8
8
"Intended Audience :: Developers" ,
You can’t perform that action at this time.
0 commit comments