Skip to content

Commit 85f3fda

Browse files
committed
Release 0.6.1
1 parent d285cbb commit 85f3fda

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

python-openshift.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
%global library openshift
44

55
Name: python-%{library}
6-
Version: 0.5.0
6+
Version: 0.6.1
77
Release: 8%{?dist}
88
Summary: Python client for the OpenShift API
99
License: MIT

scripts/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
# client version for packaging and releasing. It can
2525
# be different than SPEC_VERSION.
26-
CLIENT_VERSION = "0.6.0"
26+
CLIENT_VERSION = "0.6.1"
2727
KUBERNETES_CLIENT_VERSION = "6.0.0"
2828

2929
# Name of the release package

scripts/update-version.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
set -x
2+
SCRIPT_ROOT=$(dirname "${BASH_SOURCE}")
3+
SOURCE_ROOT="${SCRIPT_ROOT}/../"
4+
CLIENT_ROOT="${SOURCE_ROOT}/${PACKAGE_NAME}"
5+
CLIENT_VERSION=$(python "${SCRIPT_ROOT}/constants.py" CLIENT_VERSION)
6+
echo "--- updating version information..."
7+
sed -i'' "s/^CLIENT_VERSION = .*/CLIENT_VERSION = \\\"${CLIENT_VERSION}\\\"/" "${SCRIPT_ROOT}/../setup.py"
8+
sed -i'' "s/^__version__ = .*/__version__ = \\\"${CLIENT_VERSION}\\\"/" "${CLIENT_ROOT}/__init__.py"
9+
sed -i'' "s/^Version:.*/Version: ${CLIENT_VERSION}/" "${SCRIPT_ROOT}/../python-openshift.spec"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
# Do not edit these constants. They will be updated automatically
2626
# by scripts/update-client.sh.
27-
CLIENT_VERSION = "0.6.0"
27+
CLIENT_VERSION = "0.6.1"
2828
PACKAGE_NAME = "openshift"
2929
DEVELOPMENT_STATUS = "3 - Alpha"
3030

0 commit comments

Comments
 (0)