Update dns resolver

This commit is contained in:
Daniil Gentili 2019-12-27 14:47:20 +01:00
parent 660e7112e5
commit 6a67dda109
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
2 changed files with 5 additions and 4 deletions

View File

@ -27,7 +27,7 @@
"amphp/websocket-client": "dev-master as 1.0.0-rc2",
"amphp/http-client": "^4",
"amphp/socket": "^1",
"amphp/dns": "dev-master#ecbeca2ae0e93c08e8150a92810a3961fad8ecbe as v1",
"amphp/dns": "dev-master#eb0b0a2 as v1",
"amphp/file": "^1",
"amphp/byte-stream": "^1",
"danog/dns-over-https": "^0.2",

View File

@ -4,8 +4,9 @@
PHP_MAJOR_VERSION=$(php -r 'echo PHP_MAJOR_VERSION;')
PHP_MINOR_VERSION=$(php -r 'echo PHP_MINOR_VERSION;')
IS_RELEASE=n
git rev-parse "$TRAVIS_COMMIT" 2>/dev/null | grep "$TRAVIS_COMMIT" -q && IS_RELEASE=y
[ "$(git rev-list --tags --max-count=1)" == "$TRAVIS_COMMIT" ] && IS_RELEASE=y || IS_RELEASE=n
echo "Is release: $IS_RELEASE"
# Clean up
rm -rf phar7 phar5 MadelineProtoPhar
@ -21,7 +22,7 @@ echo '{
"minimum-stability":"dev",
"require": {
"danog/madelineproto": "dev-master",
"amphp/dns": "dev-master#ecbeca2ae0e93c08e8150a92810a3961fad8ecbe as v1"
"amphp/dns": "dev-master#eb0b0a2 as v1"
},
"repositories": [
{