Skip to content

telegram-desktop: Update tdesktop.git to 5.8.5 #377

telegram-desktop: Update tdesktop.git to 5.8.5

telegram-desktop: Update tdesktop.git to 5.8.5 #377

Workflow file for this run

name: Merge beta branch
on:
push:
branches:
- beta
jobs:
merge-beta:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Merge beta branch
run: |
url=$(yq '.modules[-1].sources[0]."x-checker-data".url' org.telegram.desktop.yml)
version=$(yq '.modules[-1].sources[0].tag' org.telegram.desktop.yml)
prerelease=$(curl -sSL "$url" | jq --arg version "$version" '.[] | select(.tag_name == $version).prerelease')
if [ "$prerelease" != false ]; then
exit
fi
git config --global user.name 'GitHub Action'
git config --global user.email '[email protected]'
git checkout master
git merge beta
git push