src/components/GitHub.php
public function releaseRepo($release = null)
    {
        $release = $this->take('version')->getRelease($release);
        $notes = $this->take('chkipper')->getReleaseNotes();
        $wait = $this->waitPush();
        if ($wait) {
            return $wait;
        }

        return $this->request('POST', '/repos/' . $this->getFull_name() . '/releases', [
            'tag_name'  => $release,
            'name'      => $release,
            'body'      => $notes,
        ]);
    }
public function releaseRepo($release = null)
    {
        $release = $this->take('version')->getRelease($release);
        $notes = $this->take('chkipper')->getReleaseNotes();
        $wait = $this->waitPush();
        if ($wait) {
            return $wait;
        }

        return $this->request('POST', '/repos/' . $this->getFull_name() . '/releases', [
            'tag_name'  => $release,
            'name'      => $release,
            'body'      => $notes,
        ]);
    }
public function releaseRepo ( $ release = null ) { $ release = $ this -> take ( 'version' ) -> getRelease ( $ release ) ; $ notes = $ this -> take ( 'chkipper' ) -> getReleaseNotes ( ) ; $ wait = $ this -> waitPush ( ) ; if ( $ wait ) { return $ wait ; } return $ this -> request ( 'POST' , '/repos/' . $ this -> getFull_name ( ) . '/releases' , [ 'tag_name' => $ release , 'name' => $ release , 'body' => $ notes , ] ) ; }
Creates github release.
@param string $release version number
Creates github release .