diff --git a/.flatpak/io.github.mjonuschat.PrusaSlicer.metainfo.xml b/.flatpak/io.github.mjonuschat.PrusaSlicer.metainfo.xml
index 5c48e02e92..df4c32871a 100644
--- a/.flatpak/io.github.mjonuschat.PrusaSlicer.metainfo.xml
+++ b/.flatpak/io.github.mjonuschat.PrusaSlicer.metainfo.xml
@@ -49,29 +49,8 @@
-
- https://github.com/mjonuschat/PrusaSlicer/releases/tag/version_2.8.1+boss
-
-
- https://github.com/mjonuschat/PrusaSlicer/releases/tag/version_2.8.0+boss
-
-
- https://github.com/mjonuschat/PrusaSlicer/releases/tag/version_2.7.4+boss
-
-
- https://github.com/mjonuschat/PrusaSlicer/releases/tag/version_2.7.3+boss
-
-
- https://github.com/mjonuschat/PrusaSlicer/releases/tag/version_2.7.2+boss
-
-
- https://github.com/mjonuschat/PrusaSlicer/releases/tag/version_2.7.1+boss
-
-
- https://github.com/mjonuschat/PrusaSlicer/releases/tag/version_2.7.0+boss
-
-
- https://github.com/mjonuschat/PrusaSlicer/releases/tag/version_2.6.1+boss
+
+ https://github.com/mjonuschat/PrusaSlicer/releases/tag/nightly
diff --git a/.github/workflows/build_linux.yml b/.github/workflows/build_linux.yml
index c4d002a9f2..db254110dc 100644
--- a/.github/workflows/build_linux.yml
+++ b/.github/workflows/build_linux.yml
@@ -13,6 +13,7 @@ jobs:
options: --privileged
env:
date: ""
+ date_long: ""
ver: ""
ver_pure: ""
steps:
@@ -30,8 +31,21 @@ jobs:
echo "ver=$ver" >> $GITHUB_ENV
echo "ver_pure=$ver_pure" >> $GITHUB_ENV
echo "date=$(date +'%Y%m%d')" >> $GITHUB_ENV
+ echo "date_long=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
shell: bash
+ - name: Update version information
+ if: startsWith(github.ref, 'refs/heads/release/')
+ shell: bash
+ run: |
+ sed --in-place -e 's/"nightly"/"${{ env.ver }}+"/g' .flatpak/io.github.mjonuschat.PrusaSlicer.metainfo.xml
+ sed --in-place -e 's/tag\/nightly/tag\/version_${{ env.ver }}+boss/g' .flatpak/io.github.mjonuschat.PrusaSlicer.metainfo.xml
+
+ - name: Update date information
+ shell: bash
+ run: |
+ sed --in-place -e 's/"2024-09-19"/${{ env.date_long }}/g' .flatpak/io.github.mjonuschat.PrusaSlicer.metainfo.xml
+
- name: Build PrusaSlicer (BOSS) Linux Flatpak
uses: flathub-infra/flatpak-github-actions/flatpak-builder@master
with: