From effd13d830c22044d9e6c4339d528465e90decb2 Mon Sep 17 00:00:00 2001 From: Gregory Boddin Date: Wed, 22 Nov 2017 11:55:00 +0100 Subject: [PATCH] Prepared release 0.2.6 --- README.md | 28 +++++++++++++++++++--------- bin/ghcli | 2 +- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 63830c1..53e4c26 100644 --- a/README.md +++ b/README.md @@ -36,17 +36,21 @@ token=xxxxxxxxx ## Usage ```sh -./vendor/bin/ghcli pr:comment octocat Hello-World 1 "Hello" -./vendor/bin/ghcli status:set octocat Hello-World 33375d5f193cfa8d0fe2998ec312c871639257bf -s success -c my/context -t http://www.google.com -d "You have created/updated a commit status my friend" -./vendor/bin/ghcli deploy:create octocat Hello-World -r 33375d5f193cfa8d0fe2998ec312c871639257bf -e Staging -d "Super deploy" -./vendor/bin/ghcli deploy:list octocat Hello-World -./vendor/bin/ghcli deploy:update octocat Hello-World 23079543 -s error -d "Failed it !" +ghcli pr:comment octocat Hello-World 1 "Hello" +ghcli status:set octocat Hello-World 33375d5f193cfa8d0fe2998ec312c871639257bf -s success -c my/context -t http://www.google.com -d "You have created/updated a commit status my friend" +ghcli deploy:create octocat Hello-World -r 33375d5f193cfa8d0fe2998ec312c871639257bf -e Staging -d "Super deploy" +ghcli deploy:list octocat Hello-World +ghcli deploy:update octocat Hello-World 23079543 -s error -d "Failed it !" +ghcli ref:create octocat HelloWorld -r refs/heads/depedency/2.3.78 -s bdb276f3227a19e826d8d511cfd53639153e0a6a +ghcli file:update octocat HelloWorld build.properties.lock 'Updated to version 2.3.78' 'depedency.version = 2.3.78' 'depedency/2.3.78' -c +ghcli pr:create octocat HelloWorld -t "Minor upgrade 2.3.78" -s depedency/2.3.78 -b master -d "Minor upgrade depedency/2.3.78" + ``` ## Current modules ``` -ghcli alpha +ghcli version 0.2.6 Usage: command [options] [arguments] @@ -61,14 +65,20 @@ Options: -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug Available commands: - help Displays help for a command - list Lists commands + help Displays help for a command + list Lists commands deploy deploy:create Creates a deployment deploy:list List deployments for a repo - deploy:update Creates/updates a deployment status + deploy:update Creates a deployment status + file + file:update Updates a file pr pr:comment Comment a pull request + pr:create Create a pull request + ref + ref:create Create a branch from another ref status status:set Creates/updates a commit status + ``` diff --git a/bin/ghcli b/bin/ghcli index 023274c..3266f67 100755 --- a/bin/ghcli +++ b/bin/ghcli @@ -24,7 +24,7 @@ if (!class_exists('Gbo\PhpGithubCli\GithubCommand', true)) { $application = new \Symfony\Component\Console\Application('ghcli'); -$application->setVersion('0.2.5'); +$application->setVersion('0.2.6'); /** * Get github token :