Skip to content

Commit 333aff6

Browse files
author
John Tompkins
authored
Add travis release for both plugin and support lib. (#132)
* Add travis job for releasing each respective package * Version bump for both lib and plugin
1 parent ac02839 commit 333aff6

File tree

5 files changed

+22
-3
lines changed

5 files changed

+22
-3
lines changed

.travis.yml

+12
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,15 @@ jobs:
4242
- printf "AWS::Foo::Bar\n2\ny" | cfn init -vv
4343
- ls -la
4444
- mypy src/aws_foo_bar/ --strict --implicit-reexport
45+
- stage: deploy
46+
python: "3.7"
47+
script:
48+
- cd $(bash before_deploy.sh)
49+
deploy:
50+
provider: pypi
51+
user: aws-cloudformation-developers
52+
password:
53+
secure: "KDSSnOhDMO3sHi4eeOSrsRcs3be5C1cYBdtnmTMOUz6npf39wsssBM6iJfkSdRdpWCr8k1cKodVhE3fcz+Z0vq33oPSWOvakynMrcRQk5Xe7Fzc53kesDEc562smPMiERtFfse0oO+InzIPjsfbsBzLqKlWWQGMqUxrshPmfexsOwKDo+JzT4lVflz6AGQPI0smXa9gHkAu11ne7mIlrmR7f8+mWgqzLTExIJFqYjNECOrT/gDo3zzySO13h5CXf7AM1i0o5p02b9hZ41blkS2OgBeDMSS9qN6QFPT+Erl6Q6y579/vM+knXlPzWBdbqJ2uWaeBfcZZlP7jNp6TkW1WPu4jPL/VnJ/3Eihy4rMkRBuer5zPHj0KBJZoU4jjZx5ctnsYPSZrH7Xo3CHnk1QNckXb+4GZVgz6EWAMGgRmDzJUWTzzu7Dw5EwFQZwESTETqqd+53Ht9yDeJgzA6OneZ4MsWq0OzjUFiiAKMS8BO/uiQrTv3/pJo75JJCLW8wrwTaBTZt6gTuYl+UNeuogITVCdStiH1ECZZ001Bv7tKDhcD4rVB/lJ/I8qIx9QXdWDiRhqqt1+WUl6tlA6sX2vFrTD2wqw9XNwNpIbHF8IoBRI9Cp5wO4m0CreAD6TYbPwEXKMyU5mCEQAv1zSJVag3hf/lhmAR3T7eLUPId2c="
54+
distributions: sdist bdist_wheel
55+
on:
56+
tags: true

before_deploy.sh

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
3+
if [[ "$TRAVIS_TAG" =~ plugin ]]; then
4+
echo .
5+
elif [[ "$TRAVIS_TAG" =~ lib ]]; then
6+
echo src
7+
fi

python/rpdk/python/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import logging
22

3-
__version__ = "2.1.1"
3+
__version__ = "2.1.2"
44

55
logging.getLogger(__name__).addHandler(logging.NullHandler())
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{{ support_lib_name }}==2.1.1
1+
{{ support_lib_name }}>=2.1.3

src/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
setup(
55
name="cloudformation-cli-python-lib",
6-
version="2.1.2",
6+
version="2.1.3",
77
description=__doc__,
88
author="Amazon Web Services",
99
author_email="[email protected]",

0 commit comments

Comments
 (0)