mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 07:18:57 +01:00
Fix
This commit is contained in:
parent
8df98b08a7
commit
fd543444ba
@ -33,7 +33,6 @@ pipeline:
|
|||||||
- API_HASH
|
- API_HASH
|
||||||
- BOT_TOKEN
|
- BOT_TOKEN
|
||||||
- DEST
|
- DEST
|
||||||
- DEPLOY_KEY
|
|
||||||
environment:
|
environment:
|
||||||
- PHP_VERSION=${php}
|
- PHP_VERSION=${php}
|
||||||
- PLATFORM=${platform}
|
- PLATFORM=${platform}
|
||||||
|
@ -139,7 +139,7 @@ final class MTProto implements TLCallback, LoggerGetter
|
|||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
const RELEASE = '8.0.0-beta92';
|
const RELEASE = '8.0.0-beta93';
|
||||||
/**
|
/**
|
||||||
* We're not logged in.
|
* 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"
|
cp "$input/madeline$php$branch.phar" "madeline81.phar"
|
||||||
git remote add hub https://github.com/danog/MadelineProto
|
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"
|
gh release upload "$TAG" "madeline81.phar"
|
||||||
|
|
||||||
echo -n "$COMMIT-$php" > release
|
|
||||||
|
|
||||||
gh release upload "$TAG" "release"
|
gh release upload "$TAG" "release"
|
||||||
|
gh release upload "$TAG" "madeline.php"
|
||||||
rm "madeline81.phar" release
|
|
||||||
|
|
||||||
gh release edit --prerelease=false "$TAG"
|
gh release edit --prerelease=false "$TAG"
|
||||||
gh release edit --latest=true "$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