Skip to content

Commit 24ecb87

Browse files
v1.2.1 Merge
v1.2.1 Merge
2 parents d8f6989 + 3af13e9 commit 24ecb87

File tree

5 files changed

+20
-4
lines changed

5 files changed

+20
-4
lines changed

CHANGELOG.md

+15-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
# Change Log
22

3-
## [1.2.0](https://github.com/pyouroboros/ouroboros/tree/1.2.0) (2019-02-13)
3+
## [1.2.1](https://github.com/pyouroboros/ouroboros/tree/1.2.1) (2019-02-13)
4+
[Full Changelog](https://github.com/pyouroboros/ouroboros/compare/1.2.0...1.2.1)
5+
6+
**Fixed bugs:**
7+
8+
- Broken when no :tag specified [\#210](https://github.com/pyouroboros/ouroboros/issues/210)
9+
10+
**Other Pull Requests**
11+
12+
- v1.2.1 Merge [\#213](https://github.com/pyouroboros/ouroboros/pull/213) ([DirtyCajunRice](https://github.com/DirtyCajunRice))
13+
- v1.2.1 to develop [\#212](https://github.com/pyouroboros/ouroboros/pull/212) ([DirtyCajunRice](https://github.com/DirtyCajunRice))
14+
- fixes \#210 [\#211](https://github.com/pyouroboros/ouroboros/pull/211) ([DirtyCajunRice](https://github.com/DirtyCajunRice))
15+
- version bump to 1.2.1 + develop branch + twine fix + … [\#209](https://github.com/pyouroboros/ouroboros/pull/209) ([DirtyCajunRice](https://github.com/DirtyCajunRice))
16+
17+
## [1.2.0](https://github.com/pyouroboros/ouroboros/tree/1.2.0) (2019-02-14)
418
[Full Changelog](https://github.com/pyouroboros/ouroboros/compare/1.1.2...1.2.0)
519

620
**Implemented enhancements:**

Jenkinsfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ pipeline {
126126
steps {
127127
sh """
128128
python3 -m venv venv && venv/bin/pip install twine
129-
venv/bin/python setup.py sdist && venv/bin/python -m twine --skip-existing -u ${PYPI_CREDS_USR} -p ${PYPI_CREDS_PSW} upload dist/*
129+
venv/bin/python setup.py sdist && venv/bin/python -m twine upload --skip-existing -u ${PYPI_CREDS_USR} -p ${PYPI_CREDS_PSW} dist/*
130130
git tag ${TAG}
131131
git push --tags
132132
"""

pyouroboros/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
VERSION = "1.2.0"
1+
VERSION = "1.2.1"
22
BRANCH = "master"

pyouroboros/dockerclient.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ def pull(self, current_tag):
133133
if not tag:
134134
self.logger.error('Missing tag. Skipping...')
135135
raise ConnectionError
136+
elif ':' not in tag:
137+
tag = f'{tag}:latest'
136138
self.logger.debug('Checking tag: %s', tag)
137139
try:
138140
if self.config.dry_run:
@@ -236,7 +238,6 @@ def socket_check(self):
236238
latest_image = self.pull(current_tag)
237239
except ConnectionError:
238240
continue
239-
240241
if current_image.id != latest_image.id:
241242
updateable.append((container, current_image, latest_image))
242243
else:

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ def readme():
1717
setup(
1818
name='ouroboros-cli',
1919
version=VERSION,
20+
maintainer='circa10a',
2021
description='Automatically update running docker containers',
2122
long_description=readme(),
2223
long_description_content_type='text/markdown',

0 commit comments

Comments
 (0)