Skip to content

Commit 7163d92

Browse files
committed
Set correct version in composer require
1 parent b78a44c commit 7163d92

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

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

2727
```sh
28-
php composer.phar require geoip2/geoip2:~2.0
28+
php composer.phar require geoip2/geoip2:^3.2.0
2929
```
3030

3131
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
@@ -43,6 +43,7 @@ php composer.phar self-update
4343
php composer.phar update --no-dev
4444

4545
perl -pi -e "s/(?<=const VERSION = ').+?(?=';)/$tag/g" src/WebService/Client.php
46+
perl -pi -e "s{(?<=php composer\.phar require geoip2/geoip2:).+}{^$version}g" README.md
4647

4748

4849
box_phar_hash='8d12a7d69a5003a80bd603ea95a8f3dcea30b9a2ad84cd7cb15b8193929def9e box.phar'

0 commit comments

Comments
 (0)