Skip to content

Commit

Permalink
[RELEASE] - Release version 1.12.1
Browse files Browse the repository at this point in the history
- Fixed pypi release step in travis
  • Loading branch information
amuraru committed Nov 12, 2019
1 parent 02b3f7a commit 035bf94
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.11.12
current_version = 1.12.1
commit = True
tag = True
tag_name = {new_version}
Expand Down
24 changes: 16 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ services:
branches:
only:
- master
- 1.x
- /\d+\.\d+/
- /\d+\.\d+\.\d+/

Expand All @@ -25,21 +26,28 @@ script:
# Killing background sleep loop
- kill %1

before_deploy:
- git add requirements.txt
deploy:
- provider: pypi
skip_cleanup: true
user: adobe
password:
secure: lRjP7ej0IeJilu8JedGfKS9an9JZNGLYG6ODdMbfJODblvEWzImjBkHXUeVAJ7YVmppT2kv5f2zGfrO2JiFUVevnlvlbRU0owQf2kCRIeDmafqqHk9WwdsWuOHDbRZ5zE+hkP7dQh3XG4OM3f9//9CI0gk19AkZs5d76aFrDgjkIAMMV7aMw2gz7blkHU/n7ZKRdcLzsdFOFrSS507kiI1x3NTGgzCU+1jYqds6JLLVJMXCVlSlxQV9SkP3HcvE+JIVQ9UfsuwwoFFFAOm/tEYmJAMIeOhIbCNcXYRdwRHByoEuG3OHIChLKfPpf+c47G1oReFPtSmZVbYHdkr3gPoKU05X0zbNY8lN/biuYq6ykp0nB6+swst3kG/l4HRx5WaCtPDB6TefTzFtIvwETuAKdFq6UoB1sSgu3GAK2hucFPsKYLEXPct2i8O3GAtgUrT5VSPgx9oEk9fNqhonP2kC95yEiBeRdZ7ZdqWdFKApQccBmrncp/vRVPDKAlGWiVg22yPYbbxgW/f7qX2vvCqc9BUJFsgv4FfInHWhfWA6pX6slNIEj/92g8ecBGBDPGTojIAZ2GpU6DFzlGMhNQWQm7XJaq/s/E6ZaUfi9JkT3MmEX5YZ+01yh2ovQR1wq/ZyxdUkQS1DBvrk8sIV8ZUFurpNV8uILUtLr8eJUyUs=
on:
tags: true
- provider: releases
api_key: "$GITHUB_API_KEY"
skip_cleanup: true
api_key: "$GITHUB_API_KEY"
file_glob: true
file: "dist/**/*"
file:
- "dist/**/*"
- "requirements.txt"
on:
tags: true
- provider: script
skip_cleanup: true
script: bash build_scripts/docker_push.sh
on:
tags: true
- provider: pypi
user: adobe
password:
secure: lRjP7ej0IeJilu8JedGfKS9an9JZNGLYG6ODdMbfJODblvEWzImjBkHXUeVAJ7YVmppT2kv5f2zGfrO2JiFUVevnlvlbRU0owQf2kCRIeDmafqqHk9WwdsWuOHDbRZ5zE+hkP7dQh3XG4OM3f9//9CI0gk19AkZs5d76aFrDgjkIAMMV7aMw2gz7blkHU/n7ZKRdcLzsdFOFrSS507kiI1x3NTGgzCU+1jYqds6JLLVJMXCVlSlxQV9SkP3HcvE+JIVQ9UfsuwwoFFFAOm/tEYmJAMIeOhIbCNcXYRdwRHByoEuG3OHIChLKfPpf+c47G1oReFPtSmZVbYHdkr3gPoKU05X0zbNY8lN/biuYq6ykp0nB6+swst3kG/l4HRx5WaCtPDB6TefTzFtIvwETuAKdFq6UoB1sSgu3GAK2hucFPsKYLEXPct2i8O3GAtgUrT5VSPgx9oEk9fNqhonP2kC95yEiBeRdZ7ZdqWdFKApQccBmrncp/vRVPDKAlGWiVg22yPYbbxgW/f7qX2vvCqc9BUJFsgv4FfInHWhfWA6pX6slNIEj/92g8ecBGBDPGTojIAZ2GpU6DFzlGMhNQWQm7XJaq/s/E6ZaUfi9JkT3MmEX5YZ+01yh2ovQR1wq/ZyxdUkQS1DBvrk8sIV8ZUFurpNV8uILUtLr8eJUyUs=
on:
tags: true

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ workon ops
# uninstall previous `ops` version (if you have it)
pip uninstall ops --yes

# install ops-cli v1.11.12 stable release
# install ops-cli v1.12.1 stable release
pip install --upgrade ops-cli
```

Expand All @@ -161,7 +161,7 @@ source ops/bin/activate
# uninstall previous `ops` version (if you have it)
pip uninstall ops --yes

# install ops-cli v1.11.12 stable release
# install ops-cli v1.12.1 stable release
pip2 install --upgrade ops-cli
```

Expand All @@ -177,7 +177,7 @@ You can try out `ops-cli`, by using docker. The docker image has all required pr

To start out a container, running the latest `ops-cli` docker image run:
```sh
docker run -it adobe/ops-cli:1.11.12 bash
docker run -it adobe/ops-cli:1.12.1 bash
```

After the container has started, you can start using `ops-cli`:
Expand Down
4 changes: 2 additions & 2 deletions build_scripts/docker_push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
set -e

echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
docker tag ops adobe/ops-cli:1.11.12
docker push adobe/ops-cli:1.11.12
docker tag ops adobe/ops-cli:1.12.1
docker push adobe/ops-cli:1.12.1
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
_requires = [r for r in open(os.path.sep.join((_mydir, 'requirements.txt')), "r").read().split('\n') if len(r) > 1]
setup(
name='ops-cli',
version='1.11.12',
version='1.12.1',
description='Ops - wrapper for Terraform, Ansible, and SSH for cloud automation',
long_description=_readme + '\n\n',
long_description_content_type='text/markdown',
Expand Down

0 comments on commit 035bf94

Please sign in to comment.