mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-02-16 19:35:39 +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
|
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
|
/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
|
- name: Build flatpak
|
||||||
run: |
|
run: |
|
||||||
git config --global protocol.file.allow always
|
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
|
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
|
/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
|
- name: Build flatpak
|
||||||
run: |
|
run: |
|
||||||
git config --global protocol.file.allow always
|
git config --global protocol.file.allow always
|
||||||
|
|
|
@ -66,7 +66,6 @@ modules:
|
||||||
# The version number is hardcoded in /app/retrodeck/version
|
# The version number is hardcoded in /app/retrodeck/version
|
||||||
#
|
#
|
||||||
# UPDATE STEPS FOR MAIN:
|
# UPDATE STEPS FOR MAIN:
|
||||||
# [ ] Update the VERSION variable
|
|
||||||
# [ ] Update the appdata.xml with the version number and notes
|
# [ ] Update the appdata.xml with the version number and notes
|
||||||
# [ ] change branch into main in version-initialization (first one)
|
# [ ] change branch into main in version-initialization (first one)
|
||||||
# [ ] change branch into main in retrodeck module (last one)
|
# [ ] change branch into main in retrodeck module (last one)
|
||||||
|
@ -91,7 +90,7 @@ modules:
|
||||||
sources:
|
sources:
|
||||||
- type: git
|
- type: git
|
||||||
url: https://github.com/XargonWan/RetroDECK.git
|
url: https://github.com/XargonWan/RetroDECK.git
|
||||||
branch: cooker-0.7.1b
|
branch: THISBRANCH
|
||||||
|
|
||||||
- name: xmlstarlet
|
- name: xmlstarlet
|
||||||
config-opts:
|
config-opts:
|
||||||
|
@ -1235,4 +1234,4 @@ modules:
|
||||||
sources:
|
sources:
|
||||||
- type: git
|
- type: git
|
||||||
url: https://github.com/XargonWan/RetroDECK.git
|
url: https://github.com/XargonWan/RetroDECK.git
|
||||||
branch: cooker-0.7.1b
|
branch: THISBRANCH
|
||||||
|
|
Loading…
Reference in a new issue