Skip to content

Commit

Permalink
Fix versioning (#746)
Browse files Browse the repository at this point in the history
* fix version, remove replace

* no more tricks
  • Loading branch information
DarkSide666 authored Oct 13, 2020
1 parent 793a2ab commit f1017cf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ jobs:
if [ -z "$LOG_COVERAGE" ]; then rm /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini ; fi
php --version
# trick composer that this is a "atk4/data:develop" dependency to install atk4/schema
- name: Rename HEAD to develop for Composer
run: git switch -C develop HEAD

- name: Setup cache 1/2
id: composer-cache
run: |
Expand Down Expand Up @@ -116,10 +112,6 @@ jobs:
if [ -z "$LOG_COVERAGE" ]; then rm /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini ; fi
php --version
# trick composer that this is a "atk4/data:develop" dependency to install atk4/schema
- name: Rename HEAD to develop for Composer
run: git switch -C develop HEAD

- name: Setup cache 1/2
id: composer-cache
run: |
Expand Down
4 changes: 1 addition & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"homepage": "https://mvorisek.cz/"
}
],
"version": "2.3.1",
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
Expand All @@ -50,9 +51,6 @@
"phpunit/phpcov": "*",
"phpunit/phpunit": ">=9.0"
},
"replace": {
"atk4/data": "self.version"
},
"autoload": {
"psr-4": {
"atk4\\data\\": "src/"
Expand Down

0 comments on commit f1017cf

Please sign in to comment.