Skip to content

Commit 6c640c6

Browse files
committed
Release 2.0.0 constants
1 parent ccc9809 commit 6c640c6

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

kubernetes/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger
44
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
55

66
- API version: v1.6.3
7-
- Package version: 2.0.0b1
7+
- Package version: 2.0.0
88
- Build package: io.swagger.codegen.languages.PythonClientCodegen
99

1010
## Requirements.

scripts/constants.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
KUBERNETES_BRANCH = "release-1.6"
1919

2020
# client version for packaging and releasing.
21-
CLIENT_VERSION = "2.0.0b1"
21+
CLIENT_VERSION = "2.0.0"
2222

2323
# Name of the release package
2424
PACKAGE_NAME = "kubernetes"
2525

2626
# Stage of development, mainly used in setup.py's classifiers.
27-
DEVELOPMENT_STATUS = "4 - Beta"
27+
DEVELOPMENT_STATUS = "5 - Production/Stable"
2828

2929

3030
# If called directly, return the constant value given

scripts/update-client.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ find "${CLIENT_ROOT}/" -type f -name \*.md -exec sed -i 's/kubernetes.client-pyt
6060
echo "--- updating version information..."
6161
sed -i'' "s/^CLIENT_VERSION = .*/CLIENT_VERSION = \\\"${CLIENT_VERSION}\\\"/" "${SCRIPT_ROOT}/../setup.py"
6262
sed -i'' "s/^PACKAGE_NAME = .*/PACKAGE_NAME = \\\"${PACKAGE_NAME}\\\"/" "${SCRIPT_ROOT}/../setup.py"
63-
sed -i'' "s/^DEVELOPMENT_STATUS = .*/DEVELOPMENT_STATUS = \\\"${DEVELOPMENT_STATUS}\\\"/" "${SCRIPT_ROOT}/../setup.py"
63+
sed -i'' "s,^DEVELOPMENT_STATUS = .*,DEVELOPMENT_STATUS = \\\"${DEVELOPMENT_STATUS}\\\"," "${SCRIPT_ROOT}/../setup.py"
6464
sed -i'' "/^configuration = Configuration()$/d" "${CLIENT_ROOT}/client/__init__.py"
6565
sed -i'' "/^from .configuration import Configuration$/d" "${CLIENT_ROOT}/client/__init__.py"
6666
sed -i '${/^$/d;}' "${CLIENT_ROOT}/client/__init__.py"

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616

1717
# Do not edit these constants. They will be updated automatically
1818
# by scripts/update-client.sh.
19-
CLIENT_VERSION = "2.0.0b1"
19+
CLIENT_VERSION = "2.0.0"
2020
PACKAGE_NAME = "kubernetes"
21-
DEVELOPMENT_STATUS = "4 - Beta"
21+
DEVELOPMENT_STATUS = "5 - Production/Stable"
2222

2323
# To install the library, run the following
2424
#

0 commit comments

Comments
 (0)