Skip to content

Commit 0cbc592

Browse files
Fix PyPi release to use IoT specific token (#344)
1 parent 89da78c commit 0cbc592

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

continuous-delivery/publish_to_prod_pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ phases:
1111
pre_build:
1212
commands:
1313
- cd aws-iot-device-sdk-python-v2
14-
- pypirc=$(aws secretsmanager get-secret-value --secret-id "prod/aws-crt-python/.pypirc" --query "SecretString" | cut -f2 -d\") && echo "$pypirc" > ~/.pypirc
14+
- pypirc=$(aws secretsmanager get-secret-value --secret-id "prod/aws-sdk-python-v2/.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}"
1717
- sed --in-place -E "s/__version__ = '.+'/__version__ = '${PKG_VERSION}'/" awsiot/__init__.py

0 commit comments

Comments
 (0)