use RELASE_TYPE for UI, not TYPE
authorTom Powell <tom@powell.io>
Sun, 4 Nov 2018 03:10:43 +0000 (20:10 -0700)
committerTom Powell <tom@powell.io>
Sun, 4 Nov 2018 03:10:43 +0000 (20:10 -0700)
tests/.pipeline_success.json.swp [new file with mode: 0644]
ui/gitlab/webhooks.py

diff --git a/tests/.pipeline_success.json.swp b/tests/.pipeline_success.json.swp
new file mode 100644 (file)
index 0000000..68bf93d
Binary files /dev/null and b/tests/.pipeline_success.json.swp differ
index b083f35a0eed144faffa4283a4bd0f2711b90964..88cc9dd5528cd9b5567022699d9e0a68eb556378 100644 (file)
@@ -24,7 +24,7 @@ def process(request):
                 build.build_version = variable.get("value")
             elif variable.get("key") == "DEVICE":
                 build.build_device = variable.get("value")
-            elif variable.get("key") == "TYPE":
+            elif variable.get("key") == "RELEASE_TYPE":
                 build.build_type = variable.get("value")
         build_stage = {}
         for stage in stages: