Upload the game update

Greetings, everyone! The publish my game was ended successfully. But when I got to upload the update on Flathub, something went wrong.


Here is the build’s log:


Here’s the link on manifest:

Here’s the metainfo code:

<?xml version="1.0.1" encoding="UTF-8"?>
<component type="desktop-application">
  <id>io.github.xolatgames.marknpaul</id>
  <project_license>GPL-3.0</project_license>
  <metadata_license>CC0-1.0</metadata_license>
  <name>Mark versus Paul</name>
  <summary>Casts spells! Dodges enemies! Beat the Boss! Get return the package!</summary>
  <developer_name>xolatgames</developer_name>

  <description>
    <p>
      This project is the Open-source game, where you can play as the Wizard and does some spells! You have to goes through eight locations. Dodges from enemies and it's bullets. Fast changes between spells and also gets understand which spell you needs to use. And Finally! Get fight with the Final Boss!
    </p>
  </description>

  <launchable type="desktop-id">io.github.xolatgames.marknpaul.desktop</launchable>

  <screenshots>
    <screenshot type="default">
      <image>https://img.itch.zone/aW1hZ2UvMjIyNDA2Ni8xNTY5MDQ3Ny5wbmc=/original/7n0mW7.png</image>
    </screenshot>
    <screenshot>
      <image>https://img.itch.zone/aW1hZ2UvMjIyNDA2Ni8xNDAyMzgzOS5wbmc=/original/FeWKjl.png</image>
    </screenshot>
    <screenshot>
      <image>https://img.itch.zone/aW1hZ2UvMjIyNDA2Ni8xNDAyMzg0Mi5wbmc=/original/Q3o7dg.png</image>
    </screenshot>
    <screenshot>
      <image>https://img.itch.zone/aW1hZ2UvMjIyNDA2Ni8xNDAyMzg0My5wbmc=/original/CrHdS%2F.png</image>
    </screenshot>
    <screenshot>
      <image>https://img.itch.zone/aW1hZ2UvMjIyNDA2Ni8xNDAyMzg0NS5wbmc=/original/vU2tNB.png</image>
    </screenshot>
    <screenshot>
      <image>https://img.itch.zone/aW1hZ2UvMjIyNDA2Ni8xNDAyMzg0MC5wbmc=/original/qvpZZ0.png</image>
    </screenshot>
    <screenshot>
      <image>https://img.itch.zone/aW1hZ2UvMjIyNDA2Ni8xNDAyMzg0MS5wbmc=/original/4%2FkTYI.png</image>
    </screenshot>
  </screenshots>

  <url type="homepage">https://xolatgames.itch.io/marknpaul</url>
  <url type="donation">https://boosty.to/xolatgames</url>
  <url type="translate">https://github.com/xolatgames/Mark-versus-Paul/tree/main/Localization</url>
  <url type="vcs-browser">https://github.com/xolatgames/Mark-versus-Paul</url>
  <project_group>Game</project_group>

  <provides>
    <binary>Mark-versus-Paul-1.0.1.x86_64</binary>
  </provides>

  <releases>
  	<release version="1.0.1" date="2024-04-08">
      <description>
        <p>Greetings, body! After a few month my project get some changes, such as:</p>
 		<ul>
          <li>The level's name at the start level has added</li>
          <li>Changes in some textures</li>
          <li>Somersaults does in the right side</li>
          <li>The splash screen has changed</li>
          <li>The Flathub's link has added in the main menu!</li>
          <li>The limits of zombies has added to the graveyard level</li>
          <li>Some fixes in the pre-boss level</li>
          <li>Has added two new cheats</li>
          <li>Has added the OSX version</li>
          <li>Some change in the cave level</li>
        </ul>
      </description>
    </release>
    <release version="1.0.0" date="2023-11-14">
      <description>
        <p>Are you awaiting it for? Release! So much levels, so much monsters, action, reaction, spells, somersaults and... Evil Paul, who stole Mark's package! Pls! Help Mark to return his package! If it no so hard for you!</p>
      </description>
    </release>
  </releases>

  <content_rating type="oars-1.0">
    <content_attribute id="violence-cartoon">mild</content_attribute>
    <content_attribute id="violence-fantasy">mild</content_attribute>
    <content_attribute id="language-humor">mild</content_attribute>
  </content_rating>
</component>

And here is the archive’s content:

So, what do I do wrong, bodies? Pls, help me to publish this update!

Just check your metainfo file with the appstream cli (the flatpak must be installed by you):

flatpak run org.freedesktop.appstream.cli validate Mark-versus-Paul-1.0.1.metainfo.xml

or if you already have flatpak-builder installed:

flatpak run --command=appstreamcli org.flatpak.Builder validate Mark-versus-Paul-1.0.1.metainfo.xml

The first line of the xml does not belong to your application but describes the XML-file and shouln’t be updated. Your version is solely defined under <releases>.


Non versioned URL are a bad idea. The content should never change on the other side. If it’s a new version it should be a new URL. (putting the version in the file name is an easy way to do that).
Add files via upload by xolatgames · Pull Request #1 · flathub/io.github.xolatgames.marknpaul · GitHub

The version was intended for the (GitHub) URL of your releases, not that you put the version into all file names. You want to keep the unversioned file names to simplify updates to your manifest (just change the URL & checksum & everything is done).

Thanks so much, cxrvh! It turns out was so simple! You can only envy my inattention.

And, yeap! I just rewrited this:

<?xml version="1.0.1" encoding="UTF-8"?>

To this:

<?xml version="1.0" encoding="UTF-8"?>

And everything works successfully!

Thanks to you, bro! Stay awesome! :innocent::+1:t2:

This post is solved!

This topic was automatically closed after 4 days. New replies are no longer allowed.