File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 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
3737aws-vault exec prod-engineering -- aws sts get-caller-identity
3838
3939# 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
4141if [ " $CONT " != " y" ]; then
4242 echo " Exiting"
4343 exit 1
Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ if [ -d "dist" ]; then
1414 rm -rf dist;
1515fi
1616
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
1920
21+ # Publish to pypi
22+ poetry publish --build --username __token__ --password $TOKEN
You can’t perform that action at this time.
0 commit comments