Skip to content

Commit 75c8de0

Browse files
authored
Update version for 2.21.0 release. (#4152)
1 parent 4f4f484 commit 75c8de0

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎tensorflow_serving/model_servers/BUILD‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ pkg_deb(
694694
homepage = "https://github.com/tensorflow/serving",
695695
maintainer = "TensorFlow Serving team",
696696
package = "tensorflow-model-server",
697-
version = "undefined", # Set when releasing a new version of TensorFlow Serving (e.g. 1.0.0).
697+
version = "2.21.0", # Set when releasing a new version of TensorFlow Serving (e.g. 1.0.0).
698698
)
699699

700700
# Build with '-c opt'
@@ -705,5 +705,5 @@ pkg_deb(
705705
homepage = "https://github.com/tensorflow/serving",
706706
maintainer = "TensorFlow Serving team",
707707
package = "tensorflow-model-server-universal",
708-
version = "undefined", # Set when releasing a new version of TensorFlow Serving (e.g. 1.0.0).
708+
version = "2.21.0", # Set when releasing a new version of TensorFlow Serving (e.g. 1.0.0).
709709
)

‎tensorflow_serving/model_servers/version.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ limitations under the License.
2222
#define TF_MODELSERVER_STR_HELPER(x) #x
2323
#define TF_MODELSERVER_STR(x) TF_MODELSERVER_STR_HELPER(x)
2424

25-
#define TF_MODELSERVER_MAJOR_VERSION 0
26-
#define TF_MODELSERVER_MINOR_VERSION 0
25+
#define TF_MODELSERVER_MAJOR_VERSION 2
26+
#define TF_MODELSERVER_MINOR_VERSION 21
2727
#define TF_MODELSERVER_PATCH_VERSION 0
2828
// TF_MODELSERVER_VERSION_SUFFIX is non-empty for pre-releases
2929
// (e.g. "-alpha", "-alpha.1", "-beta", "-rc", "-rc.1")

‎tensorflow_serving/tools/pip_package/setup.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
DOCLINES = __doc__.split('\n')
3232

3333
# Set when releasing a new version of TensorFlow Serving (e.g. 1.0.0).
34-
_VERSION = '0.0.0'
34+
_VERSION = '2.21.0'
3535
# Have this by default be open; releasing a new version will lock to TF version
36-
_TF_VERSION = '>=1.2.0,<3'
36+
_TF_VERSION = '>=2.21.0,<3'
3737
_TF_VERSION_SANITIZED = _TF_VERSION.replace('-', '')
3838

3939
project_name = 'tensorflow-serving-api'

0 commit comments

Comments
 (0)