WORKFLOW: flathub push, fixed manifest [skip ci]

This commit is contained in:
XargonWan 2025-02-03 14:54:55 +09:00
parent 6bb8905fe2
commit 9d6f34a774

View file

@ -63,6 +63,7 @@ sed -i '/^[[:space:]]*#/d' $manifest
sed -i 's/[[:space:]]*#.*$//' $manifest
cat << EOF >> $manifest
modules:
- name: RetroDECK
buildsystem: simple
build-commands:
@ -95,8 +96,9 @@ fi
git add .
git commit -m "Update RetroDECK to v$relname from RetroDECK/$rd_branch"
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
git push --force "https://github.com/${flathub_target_repo}" "$relname"
fi