Updated CICD to export flatpak to file and make it available as a build artifact.
This commit is contained in:

committed by
Sumner Evans

parent
af9c272dc0
commit
1903c46c65
@@ -7,3 +7,7 @@ build_flatpak:
|
||||
script:
|
||||
- cd flatpak
|
||||
- ./flatpak_build.sh
|
||||
artifacts:
|
||||
name: "libremsonic-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA"
|
||||
paths:
|
||||
- flatpak/libremsonic.flatpak
|
||||
|
@@ -5,4 +5,8 @@ sed -i "s/filename.endswith('gz')/filename.endswith('gz') or filename.endswith('
|
||||
|
||||
python3 ./flatpak-builder-tools/pip/flatpak-pip-generator --requirements-file=flatpak-requirements.txt --output pypi-dependencies
|
||||
|
||||
flatpak-builder flatpak_build_dir com.sumnerevans.libremsonic.json
|
||||
mkdir /repo
|
||||
|
||||
flatpak-builder --repo=/repo flatpak_build_dir com.sumnerevans.libremsonic.json
|
||||
|
||||
flatpak build-bundle /repo libremsonic.flatpak com.sumnerevans.libremsonic
|
||||
|
Reference in New Issue
Block a user