mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-12-01 10:05:41 +00:00
Must PR for main
This commit is contained in:
parent
de19380cd4
commit
2d3d2d9bfe
6
.github/workflows/flathub_push_main.yml
vendored
6
.github/workflows/flathub_push_main.yml
vendored
|
@ -28,6 +28,8 @@ jobs:
|
||||||
git clone --recursive https://github.com/XargonWan/RetroDECK RetroDECK
|
git clone --recursive https://github.com/XargonWan/RetroDECK RetroDECK
|
||||||
cd $gits_folder/RetroDECK
|
cd $gits_folder/RetroDECK
|
||||||
|
|
||||||
|
relname="main-"$(git rev-parse --short HEAD)
|
||||||
|
|
||||||
git checkout $rd_branch
|
git checkout $rd_branch
|
||||||
git submodule init
|
git submodule init
|
||||||
git submodule update
|
git submodule update
|
||||||
|
@ -37,7 +39,7 @@ jobs:
|
||||||
|
|
||||||
cd $gits_folder/flathub
|
cd $gits_folder/flathub
|
||||||
|
|
||||||
git checkout master
|
git checkout -b $relname
|
||||||
|
|
||||||
git rm -rf *
|
git rm -rf *
|
||||||
git clean -fxd # restroing git index
|
git clean -fxd # restroing git index
|
||||||
|
@ -81,4 +83,4 @@ jobs:
|
||||||
git commit -m "Updated flathub/net.retrodeck.retrodeck from RetroDECK/$rd_branch"
|
git commit -m "Updated flathub/net.retrodeck.retrodeck from RetroDECK/$rd_branch"
|
||||||
|
|
||||||
git remote -v
|
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
|
||||||
|
|
Loading…
Reference in a new issue