Must PR for main

This commit is contained in:
XargonWan 2022-10-12 11:10:38 +02:00 committed by GitHub
parent de19380cd4
commit 2d3d2d9bfe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,6 +28,8 @@ jobs:
git clone --recursive https://github.com/XargonWan/RetroDECK RetroDECK
cd $gits_folder/RetroDECK
relname="main-"$(git rev-parse --short HEAD)
git checkout $rd_branch
git submodule init
git submodule update
@ -37,7 +39,7 @@ jobs:
cd $gits_folder/flathub
git checkout master
git checkout -b $relname
git rm -rf *
git clean -fxd # restroing git index
@ -81,4 +83,4 @@ jobs:
git commit -m "Updated flathub/net.retrodeck.retrodeck from RetroDECK/$rd_branch"
git remote -v
git push https://${{ secrets.TRIGGER_BUILD_TOKEN }}@github.com/flathub/net.retrodeck.retrodeck.git master
git push https://${{ secrets.TRIGGER_BUILD_TOKEN }}@github.com/flathub/net.retrodeck.retrodeck.git $relname