diff --git a/maintain/release/cocoapods.py b/maintain/release/cocoapods.py
index <HASH>..<HASH> 100644
--- a/maintain/release/cocoapods.py
+++ b/maintain/release/cocoapods.py
@@ -39,7 +39,7 @@ class CocoaPodsReleaser(Releaser):
     def bump(self, new_version):
         with open(self.podspec) as fp:
             spec = json.load(fp, object_pairs_hook=collections.OrderedDict)
-            spec['version'] = new_version
+            spec['version'] = str(new_version)
 
         with open(self.podspec, 'w') as fp:
             json.dump(spec, fp, indent=2, separators=(',', ': '))
diff --git a/maintain/release/npm.py b/maintain/release/npm.py
index <HASH>..<HASH> 100644
--- a/maintain/release/npm.py
+++ b/maintain/release/npm.py
@@ -14,7 +14,7 @@ class NPMReleaser(Releaser):
     def bump(self, new_version):
         with open('package.json') as fp:
             spec = json.load(fp, object_pairs_hook=collections.OrderedDict)
-            spec['version'] = new_version
+            spec['version'] = str(new_version)
 
         with open('package.json', 'w') as fp:
             json.dump(spec, fp, indent=2, separators=(',', ': '))
[release] Fix issue releasing CP and NPM