mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 14:05:39 +00:00
Outsurcing pipeline commands in bash scripts [skip ci]
This commit is contained in:
parent
6b4b171219
commit
c112b5370b
2
.github/workflows/cooker-selfhosted.yml
vendored
2
.github/workflows/cooker-selfhosted.yml
vendored
|
@ -55,7 +55,7 @@ jobs:
|
||||||
run : "/bin/bash ${GITHUB_WORKSPACE}/automation_tools/pre_build_automation.sh"
|
run : "/bin/bash ${GITHUB_WORKSPACE}/automation_tools/pre_build_automation.sh"
|
||||||
|
|
||||||
- name: "Adding flatpak portal for automated updates (cooker only)"
|
- name: "Adding flatpak portal for automated updates (cooker only)"
|
||||||
run: sed -i '/finish-args:/a \ \ - --talk-name=org.freedesktop.Flatpak' net.retrodeck.retrodeck.yml
|
run: "/bin/bash ${GITHUB_WORKSPACE}/automation_tools/cooker-flatpak-portal-add.sh"
|
||||||
|
|
||||||
# - name: "Updating release notes in appdata"
|
# - name: "Updating release notes in appdata"
|
||||||
# run: "automation_tools/appdata_management.sh"
|
# run: "automation_tools/appdata_management.sh"
|
||||||
|
|
7
automation_tools/cooker-flatpak-portal-add.sh
Normal file
7
automation_tools/cooker-flatpak-portal-add.sh
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# COOKER ONLY
|
||||||
|
# This script is adding the update portal (permission) to the ooker flatpak.
|
||||||
|
# This is ran by the cooker pipeline.
|
||||||
|
|
||||||
|
sed -i '/finish-args:/a \ \ - --talk-name=org.freedesktop.Flatpak' net.retrodeck.retrodeck.yml
|
Loading…
Reference in a new issue