File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ You should now have the file `composer.phar` in your project directory.
2424Run in your project root:
2525
2626```
27- php composer.phar require maxmind-db/reader:~1.0
27+ php composer.phar require maxmind-db/reader:^1.12.1
2828```
2929
3030You should now have the files ` composer.json ` and ` composer.lock ` as well as
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ tag="v$version"
3030
3131rm -fr vendor
3232
33+ perl -pi -e " s{(?<=php composer\.phar require maxmind\/minfraud:).+}{^$version }g" README.md
3334perl -pi -e " s/(?<=#define PHP_MAXMINDDB_VERSION \" )\d+\.\d+\.\d+(?=\" )/$version /" ext/php_maxminddb.h
3435perl -pi -e " s/(?<=\" ext-maxminddb\" : \" <)\d+.\d+.\d+(?=,)/$version /" composer.json
3536perl -pi -e " s/(?<=<(?:api)>)\d+\.\d+\.\d+(?=<)/$version /" package.xml
You can’t perform that action at this time.
0 commit comments