Skip to content

Commit 04ad731

Browse files
committed
update set command for version number update
1 parent 3d48971 commit 04ad731

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

AWSIoTPythonSDK/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.5.0"
1+
__version__ = "1.4.9"

continuous-delivery/publish_to_prod_pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ phases:
1414
- pypirc=$(aws secretsmanager get-secret-value --secret-id "prod/aws-crt-python/.pypirc" --query "SecretString" | cut -f2 -d\") && echo "$pypirc" > ~/.pypirc
1515
- export PKG_VERSION=$(git describe --tags | cut -f2 -dv)
1616
- echo "Updating package version to ${PKG_VERSION}"
17-
- sed --in-place -E "s/__version__ = '.+'/__version__ = '${PKG_VERSION}'/" AWSIoTPythonSDK/__init__.py
17+
- sed --in-place -E "s/__version__ = \".+\"/__version__ = \"${PKG_VERSION}\"/" AWSIoTPythonSDK/__init__.py
1818
build:
1919
commands:
2020
- echo Build started on `date`

continuous-delivery/publish_to_test_pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ phases:
1414
- cd aws-iot-device-sdk-python
1515
- export PKG_VERSION=$(git describe --tags | cut -f2 -dv)
1616
- echo "Updating package version to ${PKG_VERSION}"
17-
- sed --in-place -E "s/__version__ = '.+'/__version__ = '${PKG_VERSION}'/" AWSIoTPythonSDK/__init__.py
17+
- sed --in-place -E "s/__version__ = \".+\"/__version__ = \"${PKG_VERSION}\"/" AWSIoTPythonSDK/__init__.py
1818
build:
1919
commands:
2020
- echo Build started on `date`

0 commit comments

Comments
 (0)