Philipp Hörist pushed to branch master at gajim / gajim
Commits: cbecf724 by André Apitzsch at 2023-01-07T12:33:58+00:00 ci: Update submodule in flathub repo Source of the update-index command: https://stackoverflow.com/q/33514642 - - - - - 1 changed file: - .gitlab-ci.yml Changes: ===================================== .gitlab-ci.yml ===================================== @@ -134,10 +134,14 @@ deploy-flatpak: - eval $(ssh-agent -s) - .ci/prepare_git.sh github.com "${FLATHUB_DEPLOY_KEY}" script: + # extract the current commit hash of the shared-modules submodule + - submodule_commit=$(git submodule status flatpak/shared-modules | cut -c 2-41) - git clone [email protected]:flathub/org.gajim.Gajim.git - cd org.gajim.Gajim - mv ../flatpak/org.gajim.Gajim.yaml org.gajim.Gajim.yaml - mv ../flatpak/app-overrides.json app-overrides.json + # point the shared-modules submodule to the new commit, without fetching the repository + - git update-index --cacheinfo 160000,${submodule_commit},shared-modules - git diff - git add --all - git commit -m "$CI_COMMIT_TAG" View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/cbecf724ccaf33972036bae9ac5e41acd20510eb -- View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/cbecf724ccaf33972036bae9ac5e41acd20510eb You're receiving this email because of your account on dev.gajim.org.
_______________________________________________ Commits mailing list [email protected] https://lists.gajim.org/cgi-bin/listinfo/commits
