mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-26 21:14:43 +01:00
Fix 8.1 phar build
This commit is contained in:
parent
0a37281fb5
commit
c7f813dba1
4
.gitignore
vendored
4
.gitignore
vendored
@ -135,3 +135,7 @@ e.php
|
||||
|
||||
tests/db-local.php
|
||||
a.php
|
||||
/*.php
|
||||
app_test.json
|
||||
app.json
|
||||
config.json
|
||||
|
2
docs
2
docs
@ -1 +1 @@
|
||||
Subproject commit cf7737b8eb889480b8ef37276e7f3a5cc1813f16
|
||||
Subproject commit 22abddcc5b863d46e95b59f3be32b2b9549fed45
|
@ -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": [
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user