mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-04-10 19:15:12 +00:00
WORKFLOW: flathub push, fixed manifest [skip ci]
This commit is contained in:
parent
6bb8905fe2
commit
9d6f34a774
|
@ -62,15 +62,16 @@ sed -n '/cleanup/q;p' $gits_folder/RetroDECK/net.retrodeck.retrodeck.yml > $mani
|
||||||
sed -i '/^[[:space:]]*#/d' $manifest
|
sed -i '/^[[:space:]]*#/d' $manifest
|
||||||
sed -i 's/[[:space:]]*#.*$//' $manifest
|
sed -i 's/[[:space:]]*#.*$//' $manifest
|
||||||
cat << EOF >> $manifest
|
cat << EOF >> $manifest
|
||||||
modules:
|
modules:
|
||||||
- name: RetroDECK
|
|
||||||
buildsystem: simple
|
- name: RetroDECK
|
||||||
build-commands:
|
buildsystem: simple
|
||||||
- cp -rn files/* /app
|
build-commands:
|
||||||
sources:
|
- cp -rn files/* /app
|
||||||
- type: archive
|
sources:
|
||||||
url: $artifacts_link
|
- type: archive
|
||||||
sha256: $(curl -sL "$artifacts_sha_link")
|
url: $artifacts_link
|
||||||
|
sha256: $(curl -sL "$artifacts_sha_link")
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat << EOF >> flathub.json
|
cat << EOF >> flathub.json
|
||||||
|
@ -95,8 +96,9 @@ fi
|
||||||
git add .
|
git add .
|
||||||
git commit -m "Update RetroDECK to v$relname from RetroDECK/$rd_branch"
|
git commit -m "Update RetroDECK to v$relname from RetroDECK/$rd_branch"
|
||||||
|
|
||||||
|
|
||||||
if [ -n "${GITHUB_WORKFLOW}" ]; then
|
if [ -n "${GITHUB_WORKFLOW}" ]; then
|
||||||
git push --force "https://${GIT_NAME}@github.com/${flathub_target_repo}" "$relname"
|
git push --force "${GIT_NAME}@github.com/${flathub_target_repo}.git" "$relname"
|
||||||
else
|
else
|
||||||
git push --force "https://github.com/${flathub_target_repo}" "$relname"
|
git push --force "https://github.com/${flathub_target_repo}" "$relname"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue