summaryrefslogtreecommitdiff
path: root/scripts/trigger-build-omnibus
diff options
context:
space:
mode:
authorBalasankar C <balasankar@gitlab.com>2017-12-01 10:57:12 +0530
committerBalasankar C <balasankar@gitlab.com>2017-12-01 10:57:12 +0530
commitc9fd4380807ec23f0f7f91ea0f97c149ed502cd8 (patch)
treefdbf6407f0096f7f22c15bcaf7c24be12ece0711 /scripts/trigger-build-omnibus
parent3b6fba728fdef4b1824dcfc33539e696e4f17cf5 (diff)
downloadgitlab-ce-c9fd4380807ec23f0f7f91ea0f97c149ed502cd8.tar.gz
Diffstat (limited to 'scripts/trigger-build-omnibus')
-rwxr-xr-xscripts/trigger-build-omnibus6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/trigger-build-omnibus b/scripts/trigger-build-omnibus
index 0c662ac19d2..3c5c22c9372 100755
--- a/scripts/trigger-build-omnibus
+++ b/scripts/trigger-build-omnibus
@@ -30,12 +30,16 @@ module Omnibus
private
+ def ee?
+ File.exist?('CHANGELOG-EE.md')
+ end
+
def env_params
{
"ref" => ENV["OMNIBUS_BRANCH"] || "master",
"variables[GITLAB_VERSION]" => ENV["CI_COMMIT_SHA"],
"variables[ALTERNATIVE_SOURCES]" => true,
- "variables[ee]" => ENV["EE_PACKAGE"] || "false"
+ "variables[ee]" => ee? ? 'true' : 'false'
}
end