summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorRamon Fernandez <ramon@mongodb.com>2018-12-13 13:46:04 -0500
committerRamon Fernandez <ramon@mongodb.com>2018-12-13 13:47:00 -0500
commitd631498a098e9a1190beeb8c468dcf7cce96b89d (patch)
treed102b94e6d1698f7d3f48400bbc0ecf4aece68a4 /etc
parent5a198957f61e1fd099c2796731e28aa7b09e0da5 (diff)
downloadmongo-d631498a098e9a1190beeb8c468dcf7cce96b89d.tar.gz
SERVER-38581 Add is_release expansion and use it in the mobile build
Diffstat (limited to 'etc')
-rw-r--r--etc/evergreen.yml6
1 files changed, 2 insertions, 4 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index 30f411d1267..db5c8981acc 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -1152,8 +1152,7 @@ functions:
./gradlew clean :embedded-jar:build :embedded-jar:publishMavenPublicationToLocalRepository
# Is this a release?
- echo "${version|-g}" | grep -q -- "-g"
- if [ $? -eq 1 ]; then
+ if [ "${is_release|false}" = "true" ]; then
echo "Releases disabled on master."
#source ./artifactory_mobile_creds.sh
#./gradlew --info :embedded-jar:artifactoryPublish
@@ -1172,8 +1171,7 @@ functions:
./gradlew clean :embedded-android:build
# Is this a release?
- echo "${version|-g}" | grep -q -- "-g"
- if [ $? -eq 1 ]; then
+ if [ "${is_release|false}" = "true" ]; then
echo "Releases disabled on master."
#./gradlew :embedded-android:uploadArchives closeAndReleaseRepository
fi