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
Activate virtual env for logs-deploy
[releng/global-jjb.git]
/
shell
/
release-announce.sh
diff --git
a/shell/release-announce.sh
b/shell/release-announce.sh
index
af4ce69
..
5f94bc5
100644
(file)
--- a/
shell/release-announce.sh
+++ b/
shell/release-announce.sh
@@
-10,7
+10,12
@@
##############################################################################
echo "---> release-announce.sh"
##############################################################################
echo "---> release-announce.sh"
-PROJECT="${GERRIT_PROJECT#releng/}" # For releng projects strip the prefix
+if [[ $PROJECT_SLUG != "" ]]; then
+ PROJECT="$PROJECT_SLUG"
+else
+ PROJECT="${GERRIT_PROJECT#releng/}" # For releng projects strip the prefix
+fi
+
TAG_NAME="${GERRIT_REFNAME#refs/tags/}"
set -eux -o pipefail
TAG_NAME="${GERRIT_REFNAME#refs/tags/}"
set -eux -o pipefail