Skip to content

Commit

Permalink
Fix composer develop install issues (#231)
Browse files Browse the repository at this point in the history
* Fix composer install issues

* remove version from composer.json on release

* prepare for 2.2

Co-authored-by: DarkSide <imants.horsts@inbox.lv>
  • Loading branch information
mvorisek and DarkSide666 committed Jul 14, 2020
1 parent 9df91c4 commit 2022083
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/bundler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
run: |
# replaces X keys with X-release keys
jq '. as $in | reduce (keys_unsorted[] | select(endswith("-release")|not)) as $k ({}; . + {($k) : (($k + "-release") as $kr | $in | if has($kr) then .[$kr] else .[$k] end) } )' < composer.json > tmp && mv tmp composer.json
composer config version --unset
v=$(echo ${{ github.ref }} | cut -d / -f 4)
echo "::set-env name=version::$v"
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"homepage": "https://mvorisek.cz/"
}
],
"version": "dev-develop",
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
Expand All @@ -49,7 +50,7 @@
"symfony/contracts": ">=1.1"
},
"require-dev-release": {
"atk4/data": "^2.0",
"atk4/data": "^2.2.0",
"friendsofphp/php-cs-fixer": "^2.16",
"phpunit/phpunit": ">=9.0",
"symfony/contracts": ">=1.1"
Expand Down

0 comments on commit 2022083

Please sign in to comment.