diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 627f236..81ef6ca 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -15,9 +15,16 @@ jobs:
- name: "Set Version"
shell: bash
run: |
- VERSION=${GITHUB_REF##*/}
- echo "APP_VERSION=$VERSION" >> $GITHUB_ENV
- echo "APP_VERSION=$VERSION" > src/version.py
+ APP_VERSION=${GITHUB_REF##*/}
+ APP_VERSION="${APP_VERSION:1}"
+ echo "APP_VERSION=$APP_VERSION" >> $GITHUB_ENV
+ echo "APP_VERSION=\"$APP_VERSION\"" > src/version.py
+ file=app/share/metainfo/releases/io.github.junalmeida.webapps_manager.releases.xml
+ content="\t"
+ echo $content
+ C=$(echo $content | sed 's/\//\\\//g')
+ sed "/<\/releases>/ s/.*/${C}\n&/" $file > $file.tmp
+ mv $file.tmp $file
- uses: flatpak/flatpak-github-actions/flatpak-builder@master
name: "Build"
with:
diff --git a/app/share/metainfo/io.github.junalmeida.webapps_manager.metainfo.xml b/app/share/metainfo/io.github.junalmeida.webapps_manager.metainfo.xml
index 3988605..968da8a 100644
--- a/app/share/metainfo/io.github.junalmeida.webapps_manager.metainfo.xml
+++ b/app/share/metainfo/io.github.junalmeida.webapps_manager.metainfo.xml
@@ -12,13 +12,7 @@
Network
-
-
-
- First release
-
-
-
+
webapps_manager
diff --git a/app/share/metainfo/releases/io.github.junalmeida.webapps_manager.releases.xml b/app/share/metainfo/releases/io.github.junalmeida.webapps_manager.releases.xml
new file mode 100644
index 0000000..e60bba5
--- /dev/null
+++ b/app/share/metainfo/releases/io.github.junalmeida.webapps_manager.releases.xml
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file