1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 04:08:59 +01:00

Cleanup build

This commit is contained in:
Daniil Gentili 2021-09-04 17:37:48 +02:00
parent 1df7f7468d
commit f28ef5bea2
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
3 changed files with 5 additions and 4 deletions

View File

@ -26,10 +26,6 @@ jobs:
run: |
echo "$HOME/.local/php/$PHP_VERSION" >> $GITHUB_PATH
- name: Wait for packagist
run: |
tests/waitPackagist.php
- name: Build
env:
API_ID: ${{ secrets.API_ID }}

View File

@ -63,6 +63,7 @@ echo '{
}' > composer.json
composer update --no-cache
composer dumpautoload --optimize
rm -rf vendor/phabel/phabel/tests* vendor/danog/madelineproto/docs
cd ..
branch="-$BRANCH"

View File

@ -7,6 +7,10 @@ $tag = \trim(\shell_exec("git tag --points-at HEAD"));
echo "Waiting for commit $commit on branch $branch (tag $tag)...".PHP_EOL;
if (substr($tag, -5) === '.9999' || substr($tag, -5) === '.9998') {
die;
}
$branch = $tag ? $tag : "dev-$branch";
$cur = 0;