diff options
author | Craig Tiller <ctiller@google.com> | 2016-03-28 12:43:02 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-03-28 12:43:02 -0700 |
commit | 3bd96959398d0671fee3785d4b2aee6042649b15 (patch) | |
tree | abc5288b8a4a95b3fb1d5a922bf3b1b75c5bddbc /tools/buildgen/plugins | |
parent | c65ed870ed45522194c0fcb884c9098672ac35ba (diff) | |
parent | e5cc05b5c6cee7026a0d28d39925621451506820 (diff) |
Merge github.com:grpc/grpc into idempotent
Diffstat (limited to 'tools/buildgen/plugins')
-rwxr-xr-x | tools/buildgen/plugins/expand_version.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/buildgen/plugins/expand_version.py b/tools/buildgen/plugins/expand_version.py index b55e1b15ff..dd77f7af12 100755 --- a/tools/buildgen/plugins/expand_version.py +++ b/tools/buildgen/plugins/expand_version.py @@ -84,6 +84,11 @@ class Version: else: return '%d.%d.%d' % (self.major, self.minor, self.patch) + def php(self): + """Version string in PHP style""" + """PECL does not allow tag in version string""" + return '%d.%d.%d' % (self.major, self.minor, self.patch) + def mako_plugin(dictionary): """Expand version numbers: - for each language, ensure there's a language_version tag in |