File tree Expand file tree Collapse file tree 4 files changed +12
-3
lines changed
Expand file tree Collapse file tree 4 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 33%global library openshift
44
55Name: python-%{library }
6- Version: 0.5.0
6+ Version: 0.6.1
77Release: 8%{?dist }
88Summary: Python client for the OpenShift API
99License: MIT
Original file line number Diff line number Diff line change 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 "
2727KUBERNETES_CLIENT_VERSION = "6.0.0"
2828
2929# Name of the release package
Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff line change 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 "
2828PACKAGE_NAME = "openshift"
2929DEVELOPMENT_STATUS = "3 - Alpha"
3030
You can’t perform that action at this time.
0 commit comments