Debian Codegraph @

codebuild/cd/publish_to_prod_pypi.yml

raw symbols SCIP
1 version: 0.2
2 # this image assumes base Codebuild Ubuntu image
3 phases:
4 install:
5 commands:
6 - sudo apt-get update -y
7 - sudo apt-get install python3 python3-pip -y
8 - python3 -m pip install --user --upgrade pip
9 - python3 -m pip install --user --upgrade twine boto3
10 pre_build:
11 commands:
12 - export CC=gcc
13 build:
14 commands:
15 - echo Build started on `date`
16 - mkdir dist
17 - cp -rv $CODEBUILD_SRC_DIR_aws_crt_python_windows/dist/* dist/
18 - cp -rv $CODEBUILD_SRC_DIR_aws_crt_python_manylinux1/dist/* dist/
19 - cp -rv $CODEBUILD_SRC_DIR_aws_crt_python_musllinux1_1/dist/* dist/
20 - cp -rv $CODEBUILD_SRC_DIR_aws_crt_python_osx/* dist/
21 - ls -la dist/
22 - cd aws-crt-python
23 - python3 continuous-delivery/pull-pypirc.py prod
24 - python3 -m twine upload --repository pypi --verbose ../dist/*
25 post_build:
26 commands:
27 - echo Build completed on `date`