mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-26 19:04:40 +01:00
Fix
This commit is contained in:
parent
8df98b08a7
commit
fd543444ba
@ -33,7 +33,6 @@ pipeline:
|
||||
- API_HASH
|
||||
- BOT_TOKEN
|
||||
- DEST
|
||||
- DEPLOY_KEY
|
||||
environment:
|
||||
- PHP_VERSION=${php}
|
||||
- PLATFORM=${platform}
|
||||
|
@ -139,7 +139,7 @@ final class MTProto implements TLCallback, LoggerGetter
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
const RELEASE = '8.0.0-beta92';
|
||||
const RELEASE = '8.0.0-beta93';
|
||||
/**
|
||||
* We're not logged in.
|
||||
*
|
||||
|
@ -192,41 +192,15 @@ if [ "$PLATFORM" == "linux/arm64" ]; then :; else exit 0; fi
|
||||
|
||||
cp "$input/madeline$php$branch.phar" "madeline81.phar"
|
||||
git remote add hub https://github.com/danog/MadelineProto
|
||||
|
||||
echo -n "$COMMIT-81" > release
|
||||
cp tools/phar.php madeline.php
|
||||
|
||||
gh release upload "$TAG" "madeline81.phar"
|
||||
|
||||
echo -n "$COMMIT-$php" > release
|
||||
|
||||
gh release upload "$TAG" "release"
|
||||
|
||||
rm "madeline81.phar" release
|
||||
gh release upload "$TAG" "madeline.php"
|
||||
|
||||
gh release edit --prerelease=false "$TAG"
|
||||
gh release edit --latest=true "$TAG"
|
||||
|
||||
mkdir -p $HOME/.ssh
|
||||
ssh-keyscan -t rsa github.com >> $HOME/.ssh/known_hosts
|
||||
echo "$DEPLOY_KEY" > $HOME/.ssh/id_rsa
|
||||
chmod 0600 $HOME/.ssh/id_rsa
|
||||
|
||||
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git config --global user.name "Github Actions"
|
||||
|
||||
input=$PWD
|
||||
|
||||
cd /tmp
|
||||
git clone git@github.com:danog/MadelineProtoPhar.git
|
||||
cd MadelineProtoPhar
|
||||
|
||||
cp "$input/tools/phar.php" .
|
||||
for php in 81; do
|
||||
echo -n "$COMMIT-$php" > release$php
|
||||
done
|
||||
|
||||
git add -A
|
||||
git commit -am "Release $BRANCH - $COMMIT_MESSAGE"
|
||||
while :; do
|
||||
git push origin master && break || {
|
||||
git fetch
|
||||
git rebase origin/master
|
||||
}
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user