Skip to content

Commit beb5ca0

Browse files
committed
Bugfix
1 parent 21178b8 commit beb5ca0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

bumpchanges/getversion.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
"Get the next tag version."
22

3-
from pathlib import Path
43
import os
54
import subprocess
65

6+
from logging import getLogger
7+
from pathlib import Path
8+
79
import semver
810

911
from .logging import setup_logging
1012

1113

1214
def get_next_version():
1315
"Return the next tag after the appropriate bump type."
14-
logger = setup_logging()
16+
setup_logging()
17+
logger = getLogger(__name__)
1518
repo_dir = os.environ["REPO_DIR"]
1619
bump_type = os.environ["BUMP_TYPE"]
1720
exact_version = os.environ["EXACT_VERSION"]

0 commit comments

Comments
 (0)