1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-26 21:14:43 +01:00

Fix 8.1 phar build
Some checks failed
ci/woodpecker/push/build Pipeline is pending
ci/woodpecker/tag/deploy unknown status
ci/woodpecker/tag/build Pipeline failed

This commit is contained in:
Daniil Gentili 2022-10-08 18:35:42 +02:00
parent 0a37281fb5
commit c7f813dba1
3 changed files with 9 additions and 3 deletions

4
.gitignore vendored
View File

@ -135,3 +135,7 @@ e.php
tests/db-local.php
a.php
/*.php
app_test.json
app.json
config.json

2
docs

@ -1 +1 @@
Subproject commit cf7737b8eb889480b8ef37276e7f3a5cc1813f16
Subproject commit 22abddcc5b863d46e95b59f3be32b2b9549fed45

View File

@ -42,9 +42,11 @@ php8.0 $(which composer) update
#php8.0 vendor/bin/phpunit
php8.0 vendor/bin/phabel publish -d "$TAG"
[ $php -eq 81 ] && SUBTAG=9999 || SUBTAG=9998
rm -rf vendor*
git reset --hard
git checkout "$TAG.9998"
git checkout "$TAG.$SUBTAG"
cd ..
rm -rf phar
@ -56,7 +58,7 @@ cd phar
echo '{
"name": "danog/madelineprotophar",
"require": {
"danog/madelineproto": "'$TAG'.9998"
"danog/madelineproto": "'$TAG'.'$SUBTAG'"
},
"authors": [
{