File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,12 @@ phases:
10
10
pre_build :
11
11
commands :
12
12
- pypirc=$(aws secretsmanager get-secret-value --secret-id "prod/aws-crt-python/.pypirc" --query "SecretString" | cut -f2 -d\") && echo "$pypirc" > ~/.pypirc
13
+ - export PKG_VERSION=$(git describe --tags | cut -f2 -dv)
13
14
build :
14
15
commands :
15
16
- echo Build started on `date`
16
17
- cd aws-iot-device-sdk-python-v2
18
+ - sed --in-place -E "s/version='.+'/version='${PKG_VERSION}'/" setup.py
17
19
- python3 setup.py sdist bdist_wheel --universal
18
20
- python3 -m twine upload -r pypi dist/*
19
21
post_build :
Original file line number Diff line number Diff line change @@ -10,10 +10,12 @@ phases:
10
10
pre_build :
11
11
commands :
12
12
- pypirc=$(aws secretsmanager get-secret-value --secret-id "alpha/aws-crt-python/.pypirc" --query "SecretString" | cut -f2 -d\") && echo "$pypirc" > ~/.pypirc
13
+ - export PKG_VERSION=$(git describe --tags | cut -f2 -dv)
13
14
build :
14
15
commands :
15
16
- echo Build started on `date`
16
17
- cd aws-iot-device-sdk-python-v2
18
+ - sed --in-place -E "s/version='.+'/version='${PKG_VERSION}'/" setup.py
17
19
- python3 setup.py sdist bdist_wheel --universal
18
20
- python3 -m twine upload -r testpypi dist/*
19
21
post_build :
Original file line number Diff line number Diff line change 17
17
18
18
setup (
19
19
name = 'awsiotsdk' ,
20
- version = '1.0.6 ' ,
20
+ version = '1.0.0-dev ' ,
21
21
description = 'AWS IoT SDK based on the AWS Common Runtime' ,
22
22
author = 'AWS SDK Common Runtime Team' ,
23
23
url = 'https://github.com/aws/aws-iot-device-sdk-python-v2' ,
24
24
packages = ['awsiot' ],
25
25
install_requires = [
26
- 'awscrt==0.5.13 ' ,
26
+ 'awscrt==0.5.15 ' ,
27
27
'futures;python_version<"3.2"' ,
28
28
'typing;python_version<"3.5"' ,
29
29
],
You can’t perform that action at this time.
0 commit comments