summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2018-11-27 15:59:03 -0200
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2018-11-27 15:59:03 -0200
commitb41deef778402e8d115eb34368048ef842dcce96 (patch)
tree3c0c187711c561ced4d45e8a8c694b8c73bfedfd /.gitlab-ci.yml
parentc8380d292cdda9cdb32556d49283e268686e3774 (diff)
downloadgnome-control-center-b41deef778402e8d115eb34368048ef842dcce96.tar.gz
ci: Rename icons when building flatpak
They need to match the app id.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4e43e2e68..c2b288b94 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -160,6 +160,7 @@ flatpak:
expire_in: 2 days
variables:
+ OLD_APPID: "org.gnome.Settings"
APPID: "org.gnome.SettingsDevel"
BUNDLE: "org.gnome.SettingsDevel.flatpak"
MANIFEST_PATH: "org.gnome.Settings.json"
@@ -189,6 +190,10 @@ flatpak:
- sed -i "s,<<ID>>,$APPID,g" ${MANIFEST_PATH}
- sed -i "s,<<current>>,origin/$CI_COMMIT_REF_NAME,g" ${MANIFEST_PATH}
+ # Update the icon name
+ - mv data/icons/hicolor/scalable/apps/$OLD_APPID.svg data/icons/hicolor/scalable/apps/$APPID.svg
+ - mv data/icons/hicolor/symbolic/apps/$OLD_APPID-symbolic.svg data/icons/hicolor/symbolic/apps/$APPID-symbolic.svg
+
- flatpak-builder --bundle-sources --repo=devel build ${MANIFEST_PATH}
- flatpak build-bundle devel ${BUNDLE} --runtime-repo=${RUNTIME_REPO} ${APPID}