Skip to content

Commit d882f74

Browse files
committed
Set correct version in composer require
1 parent b20bb77 commit d882f74

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ You should now have the file `composer.phar` in your project directory.
2424
Run in your project root:
2525

2626
```
27-
php composer.phar require maxmind/minfraud:~1.0
27+
php composer.phar require maxmind/minfraud:^3.2.0
2828
```
2929

3030
You should now have the files `composer.json` and `composer.lock` as well as

dev-bin/release.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ php composer.phar self-update
4545
php composer.phar update --no-dev
4646

4747
perl -pi -e "s/(?<=const VERSION = ').+?(?=';)/$tag/g" src/MinFraud/ServiceClient.php
48+
perl -pi -e "s{(?<=php composer\.phar require maxmind\/minfraud:).+}{^$version}g" README.md
4849

4950
box_phar_hash='8d12a7d69a5003a80bd603ea95a8f3dcea30b9a2ad84cd7cb15b8193929def9e box.phar'
5051

0 commit comments

Comments
 (0)