From 803bdaefab4f307638cec6feda43da3c838b70aa Mon Sep 17 00:00:00 2001
From: XargonWan <XargonWan@gmail.com>
Date: Thu, 15 Jun 2023 16:47:41 +0200
Subject: [PATCH] RetroDECK cooker-0.7.1b init

---
 net.retrodeck.retrodeck.appdata.xml |  9 +++++++++
 net.retrodeck.retrodeck.yml         | 16 ++++++++--------
 2 files changed, 17 insertions(+), 8 deletions(-)

diff --git a/net.retrodeck.retrodeck.appdata.xml b/net.retrodeck.retrodeck.appdata.xml
index 1a2f62b9..f1d81141 100644
--- a/net.retrodeck.retrodeck.appdata.xml
+++ b/net.retrodeck.retrodeck.appdata.xml
@@ -65,6 +65,15 @@
    <project_license>GPL-3.0</project_license>
    <metadata_license>CC0-1.0</metadata_license>
    <releases>
+      <release version="0.7.1b" date="2023-06-16">
+         <url>https://github.com/XargonWan/RetroDECK/releases/tag/0.7.1b</url>
+         <description>
+            <p>Bug fixes:</p>
+            <ul>
+               <li>PLACEHOLDER</li>
+            </ul>
+         </description>
+      </release>
       <release version="0.7.0b" date="2023-06-15">
          <url>https://github.com/XargonWan/RetroDECK/releases/tag/0.7.0b</url>
          <description>
diff --git a/net.retrodeck.retrodeck.yml b/net.retrodeck.retrodeck.yml
index f914bb52..ad6bbf91 100644
--- a/net.retrodeck.retrodeck.yml
+++ b/net.retrodeck.retrodeck.yml
@@ -65,18 +65,18 @@ modules:
   # The version number is hardcoded in /app/retrodeck/version
   #
   # UPDATE STEPS FOR MAIN:
-  # [X] Update the VERSION variable
-  # [X] Update the appdata.xml with the version number and notes
-  # [X] change branch into main in version-initialization (first one)
-  # [X] change branch into main in retrodeck module (last one)
-  # [X] if header (before modules) was edited, edit it even in flathub.yml
+  # [ ] Update the VERSION variable
+  # [ ] Update the appdata.xml with the version number and notes
+  # [ ] change branch into main in version-initialization (first one)
+  # [ ] change branch into main in retrodeck module (last one)
+  # [ ] if header (before modules) was edited, edit it even in flathub.yml
   #
   - name: version-initialization
     buildsystem: simple
     build-commands:
       - |
 
-        VERSION="0.7.0b"
+        VERSION=$(git rev-parse --abbrev-ref HEAD)
 
         git checkout ${GITHUB_REF_NAME}
         mkdir -p ${FLATPAK_DEST}/retrodeck/
@@ -90,7 +90,7 @@ modules:
     sources:
       - type: git
         url: https://github.com/XargonWan/RetroDECK.git
-        branch: main
+        branch: cooker-0.7.1b
 
   - name: xmlstarlet
     config-opts:
@@ -1182,4 +1182,4 @@ modules:
     sources:
       - type: git
         url: https://github.com/XargonWan/RetroDECK.git
-        branch: main
+        branch: cooker-0.7.1b