This is an automated email from the ASF dual-hosted git repository.

dgrove pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-release.git


The following commit(s) were added to refs/heads/master by this push:
     new b8844a5  openwhisk-client-js v3.21.1 (#324)
b8844a5 is described below

commit b8844a5ac8a786adc5ce5d16cea13b425dbae4c6
Author: rodric rabbah <[email protected]>
AuthorDate: Sat Feb 8 13:14:10 2020 -0500

    openwhisk-client-js v3.21.1 (#324)
    
    * New npm openwhisk release v3.21.1.
    * Update gen-release-vote.py for Python 3.
---
 release-configs/client-js-3.21.1.config | 15 +++++++++++++++
 tools/gen-release-vote.py               |  4 +++-
 2 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/release-configs/client-js-3.21.1.config 
b/release-configs/client-js-3.21.1.config
new file mode 100644
index 0000000..4590f27
--- /dev/null
+++ b/release-configs/client-js-3.21.1.config
@@ -0,0 +1,15 @@
+{
+  "versioning": {
+    "version": "3.21.1",
+    "pre_release_version": "rc1"
+  },
+  "RepoList": [
+    "openwhisk-client-js"
+  ],
+  "openwhisk_client_js": {
+    "name": "OpenWhisk Client Js",
+    "hash": "faa7f69f09a93564e0f91abb4556aa0ea1434c10",
+    "repository": "https://github.com/apache/openwhisk-client-js.git";,
+    "branch": "master"
+  }
+}
diff --git a/tools/gen-release-vote.py b/tools/gen-release-vote.py
index 82fc95c..4b828cb 100755
--- a/tools/gen-release-vote.py
+++ b/tools/gen-release-vote.py
@@ -85,7 +85,9 @@ def artifactLinks(name, version, rc):
     })
 
 def currentGitHead():
-    return subprocess.check_output(['git', 'show-ref', '--hash', '--abbrev', 
'--', 'refs/remotes/upstream/master']).strip()
+    res = subprocess.check_output(['git', 'show-ref', '--hash', '--abbrev', 
'--', 'refs/remotes/upstream/master'])
+    res = res.decode('ascii')
+    return res.strip()
 
 def gitHashes(components):
     s = map(lambda r: "* %s: %s\n  %s/commits/%s\n  %s\n  %s\n  %s\n" % 
(r.name, r.hash, r.url, r.hash, r.artifacts.tgz, r.artifacts.asc, 
r.artifacts.sha), components)

Reply via email to