Insert php version in release file

This commit is contained in:
Daniil Gentili 2019-12-27 15:50:00 +01:00
parent 93ff2ccab9
commit b947b5cacc
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
2 changed files with 3 additions and 3 deletions

View File

@ -2,9 +2,9 @@
"name": "danog/madelineproto",
"description": "PHP implementation of telegram's MTProto protocol.",
"type": "project",
"minimum-stability": "dev",
"license": "AGPL-3.0-only",
"homepage": "https://docs.madelineproto.xyz",
"minimum-stability": "dev",
"keywords": ["telegram", "mtproto", "protocol", "bytes", "messenger", "client", "PHP", "video", "stickers", "audio", "files", "GB"],
"conflict": {
"krakjoe/pthreads-polyfill": "*"
@ -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#eb0b0a2 as v1",
"amphp/dns": "^1",
"amphp/file": "^1",
"amphp/byte-stream": "^1",
"danog/dns-over-https": "^0.2",

View File

@ -145,7 +145,7 @@ cd MadelineProtoPhar
cp "../madeline$php$branch.phar" .
cp ../tools/phar.php ../examples/mtproxyd .
echo -n $TRAVIS_COMMIT > release$php$branch
echo -n "$TRAVIS_COMMIT-$php" > release$php$branch
[ "$IS_RELEASE" == "y" ] && {
cp release$php$branch release$php