From bfe29c2568686c760b707c6d22f5048f9dbc2664 Mon Sep 17 00:00:00 2001 From: nikita tarasov Date: Fri, 21 Jan 2022 14:45:17 +0300 Subject: [PATCH] bump version --- .github/workflows/grumphp.yml | 8 ++++++++ src/Jeeves/Console/Application.php | 2 +- src/Jeeves/Console/Command/ShippingModule.php | 6 ------ 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/grumphp.yml b/.github/workflows/grumphp.yml index 6b9675c..c1470ef 100644 --- a/.github/workflows/grumphp.yml +++ b/.github/workflows/grumphp.yml @@ -6,6 +6,8 @@ on: branches: - v1 push: + tags: + - '*' branches: - v1 @@ -66,3 +68,9 @@ jobs: with: name: jeeves_new.phar path: jeeves.phar + - name: Upload to Releases + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') && matrix.php-versions == '7.4' + with: + files: jeeves.phar + token: ${{ secrets.token }} diff --git a/src/Jeeves/Console/Application.php b/src/Jeeves/Console/Application.php index 21267ee..b011327 100644 --- a/src/Jeeves/Console/Application.php +++ b/src/Jeeves/Console/Application.php @@ -14,7 +14,7 @@ class Application extends BaseApplication { public const GEN = 'generate'; - public const VERSION = '1.0.0RC1'; + public const VERSION = '1.0.0-rc.1'; public const NAME = 'Jeeves'; /** diff --git a/src/Jeeves/Console/Command/ShippingModule.php b/src/Jeeves/Console/Command/ShippingModule.php index d800d0e..79cce7b 100644 --- a/src/Jeeves/Console/Command/ShippingModule.php +++ b/src/Jeeves/Console/Command/ShippingModule.php @@ -11,14 +11,8 @@ class ShippingModule extends BaseCommand { - private $vendor; - private $path; - private $module; - - private $entity; - protected function configure() { $this