Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Addressed PR feedback.
  • Loading branch information
JonathanHenson committed May 10, 2019
commit 68c86fb1bd3136c1e28db94ef0bf7ea7afef7dbb
3 changes: 1 addition & 2 deletions continuous-delivery/publish_to_prod_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ phases:
- python3 -m pip install --user --upgrade twine setuptools wheel boto3 PyOpenSSL six
pre_build:
commands:
- export CC=gcc
- pypirc=$(aws secretsmanager get-secret-value --secret-id "prod/aws-crt-python/.pypirc" --query "SecretString" | cut -f2 -d":" | cut -f2 -d\") && echo "$pypirc" > ~/.pypirc
build:
commands:
- echo Build started on `date`
- cd aws-iot-device-sdk-python-v2
- python3 continuous-delivery/pull_pypirc.py prod
- python3 setup.py sdist bdist_wheel --universal
- python3 -m twine upload -r pypi dist/*
post_build:
Expand Down
3 changes: 1 addition & 2 deletions continuous-delivery/publish_to_test_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ phases:
- python3 -m pip install --user --upgrade twine setuptools wheel boto3 PyOpenSSL six
pre_build:
commands:
- export CC=gcc
- pypirc=$(aws secretsmanager get-secret-value --secret-id "alpha/aws-crt-python/.pypirc" --query "SecretString" | cut -f2 -d":" | cut -f2 -d\") && echo "$pypirc" > ~/.pypirc
build:
commands:
- echo Build started on `date`
- cd aws-iot-device-sdk-python-v2
- python3 continuous-delivery/pull_pypirc.py alpha
- python3 setup.py sdist bdist_wheel --universal
- python3 -m twine upload -r testpypi dist/*
post_build:
Expand Down
52 changes: 0 additions & 52 deletions continuous-delivery/pull_pypirc.py

This file was deleted.