Skip to content

Commit 6c2d4fb

Browse files
committed
Switch from Box 2 to 3
1 parent 5c74ed4 commit 6c2d4fb

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
CHANGELOG
22
=========
33

4+
2.12.0
5+
-------------------
6+
7+
* `geoip2.phar` is now generated with Box 3.x.
8+
49
2.11.0 (2020-10-01)
510
-------------------
611

box.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33
"main": "phar-stub.php",
44
"output": "geoip2.phar",
55
"compactors": [
6-
"Herrera\\Box\\Compactor\\Composer",
7-
"Herrera\\Box\\Compactor\\Json",
8-
"Herrera\\Box\\Compactor\\Php"
6+
"KevinGH\\Box\\Compactor\\Php",
7+
"KevinGH\\Box\\Compactor\\Json"
98
],
109
"files": [
1110
"LICENSE"
@@ -38,6 +37,5 @@
3837
}
3938
],
4039
"git-version": "git-version",
41-
"shebang": false,
42-
"stub": true
40+
"shebang": false
4341
}

dev-bin/release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ php composer.phar update --no-dev
4545
perl -pi -e "s/(?<=const VERSION = ').+?(?=';)/$tag/g" src/WebService/Client.php
4646

4747
if [ ! -f box.phar ]; then
48-
wget -O box.phar "https://github.com/box-project/box2/releases/download/2.7.5/box-2.7.5.phar"
48+
wget -O box.phar "https://github.com/box-project/box/releases/download/3.13.0/box.phar"
4949
fi
5050

51-
php box.phar build
51+
php box.phar compile
5252

5353
phar_test=$(./dev-bin/phar-test.php)
5454
if [[ -n $phar_test ]]; then

0 commit comments

Comments
 (0)