mirror of
https://github.com/RetroDECK/net.rpcs3.RPCS3.git
synced 2024-11-22 16:45:38 +00:00
metainfo: fix version
This commit is contained in:
parent
43a71f34d3
commit
eb1145d424
|
@ -205,7 +205,7 @@ modules:
|
|||
|
||||
sed -i 's|<id>RPCS3</id>|<id>net.rpcs3.RPCS3</id>|' ${FLATPAK_DEST}/share/metainfo/rpcs3.metainfo.xml;
|
||||
|
||||
COMM_TAG="$(grep 'version{.*}' rpcs3/rpcs3_version.cpp | awk -F[\{,] '{printf "%d.%d.%d", $2, $3, $4}')";
|
||||
COMM_TAG="$(grep 'version{.*}' ../rpcs3/rpcs3_version.cpp | awk -F[\{,] '{printf "%d.%d.%d", $2, $3, $4}')";
|
||||
COMM_COUNT="$(git rev-list --count HEAD)";
|
||||
COMM_HASH="$(git rev-parse --short=8 HEAD)";
|
||||
sed -i 's|</component>|<content_rating type="oars-1.1"/><releases><release date="'$(git show -s --format=%cs)'" version="'"${COMM_TAG}"'-'"${COMM_COUNT}"'-'"${COMM_HASH}"'"/></releases></component>|' ${FLATPAK_DEST}/share/metainfo/rpcs3.metainfo.xml;
|
||||
|
|
Loading…
Reference in a new issue