mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 05:55:38 +00:00
Updated pipelines to automatically insert the branch name
This commit is contained in:
parent
3b941155cf
commit
a75060611a
4
.github/workflows/cooker-selfhosted.yml
vendored
4
.github/workflows/cooker-selfhosted.yml
vendored
|
@ -62,6 +62,10 @@ jobs:
|
|||
runtime/org.freedesktop.Platform.ffmpeg-full/x86_64/22.08
|
||||
/bin/bash ${GITHUB_WORKSPACE}/automation_tools/pre_build_automation.sh # Run pre-build automation tasks
|
||||
|
||||
- name: Setting branch in the manifest
|
||||
run: |
|
||||
sed -i "s/branch: THISBRANCH/branch: $(git rev-parse --abbrev-ref HEAD)/g" net.retrodeck.retrodeck.yml
|
||||
|
||||
- name: Build flatpak
|
||||
run: |
|
||||
git config --global protocol.file.allow always
|
||||
|
|
4
.github/workflows/main-selfhosted.yml
vendored
4
.github/workflows/main-selfhosted.yml
vendored
|
@ -53,6 +53,10 @@ jobs:
|
|||
runtime/org.freedesktop.Platform.ffmpeg-full/x86_64/22.08
|
||||
/bin/bash ${GITHUB_WORKSPACE}/automation_tools/pre_build_automation.sh # Run pre-build automation tasks
|
||||
|
||||
- name: Setting branch in the manifest
|
||||
run: |
|
||||
sed -i "s/branch: THISBRANCH/branch: $(git rev-parse --abbrev-ref HEAD)/g" net.retrodeck.retrodeck.yml
|
||||
|
||||
- name: Build flatpak
|
||||
run: |
|
||||
git config --global protocol.file.allow always
|
||||
|
|
|
@ -66,7 +66,6 @@ modules:
|
|||
# The version number is hardcoded in /app/retrodeck/version
|
||||
#
|
||||
# UPDATE STEPS FOR MAIN:
|
||||
# [ ] Update the VERSION variable
|
||||
# [ ] Update the appdata.xml with the version number and notes
|
||||
# [ ] change branch into main in version-initialization (first one)
|
||||
# [ ] change branch into main in retrodeck module (last one)
|
||||
|
@ -91,7 +90,7 @@ modules:
|
|||
sources:
|
||||
- type: git
|
||||
url: https://github.com/XargonWan/RetroDECK.git
|
||||
branch: cooker-0.7.1b
|
||||
branch: THISBRANCH
|
||||
|
||||
- name: xmlstarlet
|
||||
config-opts:
|
||||
|
@ -1235,4 +1234,4 @@ modules:
|
|||
sources:
|
||||
- type: git
|
||||
url: https://github.com/XargonWan/RetroDECK.git
|
||||
branch: cooker-0.7.1b
|
||||
branch: THISBRANCH
|
||||
|
|
Loading…
Reference in a new issue