github command --repo argument syntax has changed, also specify the repository owner
Change-Id: I26f474078e46ebd3a9075bb275557cc8137da233
diff --git a/jjb/shell/github-release.sh b/jjb/shell/github-release.sh
index 661703f..14dd5c7 100755
--- a/jjb/shell/github-release.sh
+++ b/jjb/shell/github-release.sh
@@ -196,7 +196,7 @@
# cmd+=('--verbose')
cmd+=('release' 'create')
# cmd+=('--latest')
- cmd+=('--repo' "$repo")
+ cmd+=('--repo' "opencord/$repo")
cmd+=('--title' "$name")
# cmd+=('--descripton' "$descr") # not supported
cmd+=('--discussion-category' "Announcements")
@@ -406,7 +406,7 @@
declare -a cmd=()
cmd+=("$gh_cmd")
cmd+=('release' 'upload')
- cmd+=('--repo' "$GERRIT_PROJECT")
+ cmd+=('--repo' "opencord/${GERRIT_PROJECT}")
cmd+=("${to_release[@]}")
"${cmd[@]}"
;;