+ return $this->github->createReleaseFromTag($repo, $config["tag"], $config);
+ })->done(function() use(&$repo) {
+ $this->app->redirect($this->app->getBaseUrl()->mod(":./github/repo/" . $repo->full_name));
+ });
+
+ $this->github->drain();
+
+ $hook = $this->github->checkRepoHook($repo);
+ $this->app->getView()->addData(compact("owner", "name", "repo", "hook"));
+
+ if (($modal = $this->app->getRequest()->getQuery("modal"))) {
+ $action = $this->app->getRequest()->getQuery($modal);
+ $this->app->getView()->addData(compact("modal", "action"));