settype($repo->tags, "object");
$this->github->listHooks($repo->full_name, function($hooks) use($repo) {
$repo->hooks = $hooks;
+ $this->app->getView()->addData(["hook" => $this->checkRepoHook($repo)]);
});
$this->github->listTags($repo->full_name, 1, $this->createTagsCallback($repo));
$this->github->listReleases($repo->full_name, 1, $this->createReleasesCallback($repo));
$tag = $release->tag_name;
settype($repo->tags->$tag, "object");
$repo->tags->$tag->release = $release;
+ $this->github->listReleaseAssets($repo->full_name, $release->id, function($assets) use($release) {
+ $release->assets = $assets;
+ });
}
};
}