File tree 2 files changed +6
-3
lines changed 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ AWS_PROFILE=govcloud-us1-fed-human-engineering aws sts get-caller-identity
37
37
aws-vault exec prod-engineering -- aws sts get-caller-identity
38
38
39
39
# Ensure pypi registry access
40
- read -p " Do you have the PyPi login credentials for datadog account (y/n)?" CONT
40
+ read -p " Do you have access to PyPI (y/n)?" CONT
41
41
if [ " $CONT " != " y" ]; then
42
42
echo " Exiting"
43
43
exit 1
Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ if [ -d "dist" ]; then
14
14
rm -rf dist;
15
15
fi
16
16
17
- # Publish to pypi
18
- poetry publish --build
17
+ echo " Please enter the PyPI token (password) for datadog-lambda-python"
18
+ echo " This can be found in 1password under the shared-serverless vault"
19
+ read -p " Token name: " TOKEN
19
20
21
+ # Publish to pypi
22
+ poetry publish --build --username __token__ --password $TOKEN
You can’t perform that action at this time.
0 commit comments