diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index 9173cea..61f8dbf 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -18,5 +18,5 @@ jobs: needs: calculate_next_version with: ref: ${{github.ref_name}} - future_release: ${{ needs.calculate_next_version.outputs.version }} - release_branch: 'release' \ No newline at end of file + future-release: ${{ needs.calculate_next_version.outputs.version }} + release-branch: 'release' \ No newline at end of file diff --git a/.idea/deployer.composer.iml b/.idea/deployer.composer.iml index bc048de..33f099e 100644 --- a/.idea/deployer.composer.iml +++ b/.idea/deployer.composer.iml @@ -34,6 +34,12 @@ + + + + + + diff --git a/.idea/php.xml b/.idea/php.xml index 7d5b9a4..786e89c 100644 --- a/.idea/php.xml +++ b/.idea/php.xml @@ -32,6 +32,7 @@ + diff --git a/README.md b/README.md index 1dbd563..87c7add 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,15 @@ ![Packagist Downloads](https://img.shields.io/packagist/dt/codenamephp/deployer.composer) ![GitHub](https://img.shields.io/github/license/codenamephp/deployer.composer) +## What is it? + +This package adds deployer tasks and a command factory for running composer on the command line. + ## Installation Easiest way is via composer. Just run `composer require codenamephp/deployer.composer` in your cli which should install the latest version for you. -## Usage \ No newline at end of file +## Usage + +Just use the built in tasks in your deployer file or create your own by using the command factory and a command runner or just +extend `\de\codenamephp\deployer\composer\task\AbstractComposerTask` \ No newline at end of file diff --git a/composer.json b/composer.json index 25ff3a0..73d3cbd 100644 --- a/composer.json +++ b/composer.json @@ -10,10 +10,11 @@ } ], "minimum-stability": "dev", + "prefer-stable": true, "require": { "php": "^8.1", - "codenamephp/deployer.base": "dev-main", - "codenamephp/deployer.command": "dev-main" + "codenamephp/deployer.base": "^1.0", + "codenamephp/deployer.command": "^1.0" }, "autoload": { "psr-4": { @@ -33,10 +34,10 @@ "sort-packages": true }, "scripts": { - "phpunit": "tools/phpunit.phar -c test/phpunit.dist.xml test/", - "psalm": "tools/psalm --threads=10 --long-progress", - "composer-unused": "tools/composer-unused --no-progress --no-interaction --profile", - "composer-require-checker": "tools/composer-require-checker --no-interaction", + "phpunit": "XDEBUG_MODE=coverage tools/phpunit.phar -c test/phpunit.dist.xml test/", + "psalm": "XDEBUG_MODE=off tools/psalm --threads=10 --long-progress", + "composer-unused": "XDEBUG_MODE=off tools/composer-unused --no-progress --no-interaction --profile", + "composer-require-checker": "XDEBUG_MODE=off tools/composer-require-checker --no-interaction", "infection": "XDEBUG_MODE=coverage tools/infection --min-msi=100 --min-covered-msi=100 --threads=4 --no-progress --show-mutations", "ci-all": [ "composer validate",