PHP code example of artarts36 / ci-git-tagger
1. Go to this page and download the library: Download artarts36/ci-git-tagger library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
artarts36 / ci-git-tagger example snippets
use ArtARTs36\CiGitTagger\Remote\Credentials;
use ArtARTs36\CiGitTagger\Tag\Tag;
use ArtARTs36\CiGitTagger\Tagger\Factory;
$tagger = Factory::local()->create(__DIR__, new Credentials('login', 'token'));
$tagger->tag(Tag::make('0.1.6', 'v{$TAG}_{$BRANCH}_${COMMIT}'));