Skip to content

Commit f0c56d0

Browse files
committed
chore: fix bump-python-version script
1 parent 32a9480 commit f0c56d0

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

ci-scripts/bump-python-version.sh

+6-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,9 @@ source "${SCRIPT_PATH}"/common.sh
55

66
version=$1
77
echo "new version ${version}"
8-
echo "\"\"\"Release version number.\"\"\"\n__version__ = '${version}' # noqa" >> lambda_handlers/version.py
8+
(
9+
cat <<EOF
10+
"""Release version number."""
11+
__version__ = '${version}' # noqa
12+
EOF
13+
) >lambda_handlers/version.py

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Define setup function using setup.cfg."""
1+
"""Define the setup function using setup.cfg."""
22

33
from setuptools import setup
44

0 commit comments

Comments
 (0)