Skip to content

Commit

Permalink
Update ApiGen abnd Box in release scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald committed Jan 20, 2016
1 parent 5989645 commit 25ca25c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions dev-bin/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ php composer.phar update --no-dev
perl -pi -e "s/(?<=const VERSION = ').+?(?=';)/$TAG/g" src/MinFraud.php

if [ ! -f box.phar ]; then
wget -O box.phar "https://github.com/box-project/box2/releases/download/2.5.0/box-2.5.0.phar"
wget -O box.phar "https://github.com/box-project/box2/releases/download/2.6.1/box-2.6.1.phar"
fi

php box.phar build
Expand Down Expand Up @@ -77,7 +77,7 @@ fi
# sporadically deleted upstream and compatibility is often broken on patch
# releases.
if [ ! -f apigen.phar ]; then
wget -O apigen.phar "https://github.com/apigen/apigen/releases/download/v4.0.0-RC3/apigen-4.0.0-RC3.phar"
wget -O apigen.phar "https://github.com/ApiGen/ApiGen/releases/download/v4.1.2/apigen.phar"
fi


Expand Down Expand Up @@ -123,6 +123,6 @@ popd

git commit -m "Update for $TAG" -a

git tag -a $TAG
git tag -a "$TAG"
git push
git push --tags
2 changes: 1 addition & 1 deletion src/MinFraud.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
*/
class MinFraud
{
const VERSION = 'v0.3.0';
const VERSION = 'v0.4.0';

private $client;
private static $host = 'minfraud.maxmind.com';
Expand Down

0 comments on commit 25ca25c

Please sign in to comment.