Fixing in-app changelog.

This commit is contained in:
Adsooi 2022-04-22 23:59:31 +02:00
parent fe815f21ab
commit 3ac6717933
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160

View file

@ -58,15 +58,16 @@
"build-options": {
"env": {
"MIME_PATH": "/app/share/mime/packages",
"ICON_PATH": "/app/share/icons/hicolor/scalable/mimetypes"
"ICON_PATH": "/app/share/icons/hicolor/scalable/mimetypes",
"CHANGELOG_PATH": ""
}
},
"build-commands": [
"rm -rf .git",
"cd LogarithmPlotter/i18n && bash release.sh",
"mv eu.ad5001.LogarithmPlotter.metainfo.xml linux/eu.ad5001.LogarithmPlotter.metainfo.flatpak.xml # Add metainfo file from current repository.",
"cp CHANGELOG.md LogarithmPlotter/util/ # Copy changelog into the directory needed for it to be cached.",
"PREFIX=\"/app/share\" FLATPAK_INSTALL=1 python3 setup.py install --prefix=/app"
"PREFIX=\"/app/share\" FLATPAK_INSTALL=1 python3 setup.py install --prefix=/app",
"cp CHANGELOG.md /app/lib/python3.*/site-packages/logarithmplotter-*-py3.*.egg/LogarithmPlotter/util/ # Copy changelog into the directory needed for it to be cached."
],
"post-install": [
"mv ${MIME_PATH}/x-logarithm-plot.xml ${MIME_PATH}/eu.ad5001.LogarithmPlotter-x-logarithm-plot.xml",