Updated pipelines to automatically insert the branch name

This commit is contained in:
XargonWan 2023-08-25 15:13:31 +02:00
parent 3b941155cf
commit a75060611a
3 changed files with 10 additions and 3 deletions

View file

@ -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

View file

@ -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

View file

@ -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