Skip to content

Update tg_owt and telegram-desktop modules #357

Update tg_owt and telegram-desktop modules

Update tg_owt and telegram-desktop modules #357

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 'action@github.com'
git checkout master
git merge beta
git push