diff options
author | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2018-11-27 15:59:03 -0200 |
---|---|---|
committer | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2018-11-27 15:59:03 -0200 |
commit | b41deef778402e8d115eb34368048ef842dcce96 (patch) | |
tree | 3c0c187711c561ced4d45e8a8c694b8c73bfedfd /.gitlab-ci.yml | |
parent | c8380d292cdda9cdb32556d49283e268686e3774 (diff) | |
download | gnome-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.yml | 5 |
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} |