Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix: Update Sphinx to fix RTD build
[releng/global-jjb.git]
/
shell
/
release-announce.sh
diff --git
a/shell/release-announce.sh
b/shell/release-announce.sh
index
fd1afe6
..
5f94bc5
100644
(file)
--- a/
shell/release-announce.sh
+++ b/
shell/release-announce.sh
@@
-8,8
+8,14
@@
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
##############################################################################
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
##############################################################################
+echo "---> release-announce.sh"
+
+if [[ $PROJECT_SLUG != "" ]]; then
+ PROJECT="$PROJECT_SLUG"
+else
+ PROJECT="${GERRIT_PROJECT#releng/}" # For releng projects strip the prefix
+fi
-PROJECT="${GERRIT_PROJECT#releng/}" # For releng projects strip the prefix
TAG_NAME="${GERRIT_REFNAME#refs/tags/}"
set -eux -o pipefail
TAG_NAME="${GERRIT_REFNAME#refs/tags/}"
set -eux -o pipefail