Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (13 sloc) 465 Bytes
version: 0.2
env:
parameter-store:
TWINE_USERNAME: /CodeBuild/pypi-user
TWINE_PASSWORD: /CodeBuild/pypi-password
phases:
build:
commands:
- pip install --upgrade pytest boto3 setuptools wheel twine
- mkdir -p botostubs/botostubs
- cp setup.py README.md release.sh botostubs/
- export AWS_ACCESS_KEY_ID=FAKE AWS_SECRET_ACCESS_KEY=FAKE && python main.py > botostubs/botostubs/__init__.py
- cd botostubs && ./release.sh