Gitlab\Api\Repositories::createTag PHP Method

createTag() public method

public createTag ( integer $project_id, string $name, string $ref, string $message = null ) : mixed
$project_id integer
$name string
$ref string
$message string
return mixed
    public function createTag($project_id, $name, $ref, $message = null)
    {
        return $this->post($this->getProjectPath($project_id, 'repository/tags'), array('tag_name' => $name, 'ref' => $ref, 'message' => $message));
    }