publish release *after* uploading the asset
[pharext/pharext.org] / app / Github / API / Hooks / UpdateHook.php
index a891b13351c1d2382be41e720c6da99df2bff134..2d994b592ec88703feebc4b3b16aa5ff2c9d4afe 100644 (file)
@@ -20,8 +20,8 @@ class UpdateHook extends \app\Github\API\Call
                        $events[] = "release";
                }
                $config = [
-                       "zend" => !empty($this->args["conf"]["zend"]),
-                       "pecl" => !empty($this->args["conf"]["pecl"]),
+                       "zend" => (int)!empty($this->args["conf"]["zend"]),
+                       "pecl" => (int)!empty($this->args["conf"]["pecl"]),
                        "url" => $this->config->hook->url,
                        "content_type" => $this->config->hook->content_type,
                        "insecure_ssl" => $this->config->hook->insecure_ssl,