Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ ac*.m4
autom4te.cache/
build/
composer.lock
composer.phar
config.[^mw]*
configure*
core
Expand Down
6 changes: 4 additions & 2 deletions dev-bin/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ check_command php
check_command phpize
check_command pecl

# composer.phar is managed by mise (see mise.toml)
check_command composer.phar

Comment thread
coderabbitai[bot] marked this conversation as resolved.
# Check that we're not on the main branch
current_branch=$(git branch --show-current)
if [ "$current_branch" = "main" ]; then
Expand Down Expand Up @@ -100,8 +103,7 @@ phpize
make
popd

php -n -dextension=ext/modules/maxminddb.so composer.phar self-update
php -n -dextension=ext/modules/maxminddb.so composer.phar update
php -n -dextension=ext/modules/maxminddb.so "$(mise which composer.phar)" update

php -n -dextension=ext/modules/maxminddb.so ./vendor/bin/phpunit
php -n ./vendor/bin/phpunit
Expand Down
40 changes: 40 additions & 0 deletions mise.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
lockfile = true

[tools]
"github:composer/composer" = "latest"
lychee = "latest"

[tasks.check-links]
Expand Down
Loading