diff --git a/appcast-pre.xml b/appcast-pre.xml
index 56a3fd4f..7e24b7c1 100644
--- a/appcast-pre.xml
+++ b/appcast-pre.xml
@@ -205,13 +205,6 @@ f0a5a362 ci: Add ruff including print checks
https://github.com/borgbase/vorta/releases/tag/v0.9.0
- -
- v0.8.12
- Removes a leftover dependency of
paramiko
. Rest same as v0.8.11
]]>
- 2023-04-10T07:52:39Z
- 0.8.12
- https://github.com/borgbase/vorta/releases/tag/v0.8.12
-
-
v0.8.11
This release includes a large number of smaller improvements by our Google Summer of Code contributors and others.
@@ -478,39 +471,6 @@ see previous pre-releases for detailed changes. Main changes:
https://github.com/borgbase/vorta/releases/tag/v0.8.2
- -
- v0.8.1
- This is the next pre-release of our 0.8 branch, which includes larger under-the-hood improvements. Changes since the last release:
-
-- Use native threading module in job_manager. (#1096)
-- Fix next_job timer logic. By @jayeclark (#1100)
-- Remove jobs if scheduler setting is changed. (#1105)
-- Remove jobs before deleting profile (#1107)
-- Make sure correct sources are removed (#1110)
-- Address DB Locking issues (#1109)
-- Refactor: Split up vorta/models.py (#1112)
-- Notify on failed repo checks (#1113)
-
]]>
- 2021-11-17T11:08:47Z
- 0.8.1
- https://github.com/borgbase/vorta/releases/tag/v0.8.1
-
- -
- v0.8.0
- This major release improves the way Borg jobs are handled. It also adds support for Python 3.10 and removes our dependency on APScheduler. This is a pre-release and some bugs in this branch aren't addressed yet.
-
Changes in detail:
-
-- Implement multiple queues. By @bastiencyr (#1045)
-- Show backup size with excludes applied. By @freder (#961)
-- Remove APScheduler dependency, Python 3.10 support (#1086)
-- Add tooltip containing path name. By @XXXBold (#1072)
-- Increases the maximum allowed number in prune keep. By @lstrz (#1089)
-- Always handle autosave setting when saving SettingsModel. By @phihos (#1093)
-
]]>
- 2021-11-04T10:52:17Z
- 0.8.0
- https://github.com/borgbase/vorta/releases/tag/v0.8.0
-
-
v0.7.8
Minor release to update translations and address small bugs. The next release will be 0.8 and will include larger changes:
diff --git a/appcast.xml b/appcast.xml
index 8733d453..0efcb8e1 100644
--- a/appcast.xml
+++ b/appcast.xml
@@ -21,13 +21,6 @@
https://github.com/borgbase/vorta/releases/tag/v0.9.1
- -
- v0.8.12
- Removes a leftover dependency of
paramiko
. Rest same as v0.8.11]]>
- 2023-04-10T07:52:39Z
- 0.8.12
- https://github.com/borgbase/vorta/releases/tag/v0.8.12
-
-
v0.8.11
This release includes a large number of smaller improvements by our Google Summer of Code contributors and others.
diff --git a/generate_appcast.py b/generate_appcast.py
index 5769dff6..5928d0ee 100644
--- a/generate_appcast.py
+++ b/generate_appcast.py
@@ -43,6 +43,9 @@ def generate_appcast_xml(releases, include_prereleases=False):
if not include_prereleases and release['prerelease']:
continue # Skip pre-releases if not requested
+ if len(release.get("assets", [])) == 0:
+ continue # Skip if there is not enclosure
+
item = ET.SubElement(channel, "item")
item_title = ET.SubElement(item, "title")
@@ -62,8 +65,7 @@ def generate_appcast_xml(releases, include_prereleases=False):
# Add enclosure for attached assets (assuming one main asset per release)
for asset in release.get("assets", []):
- enclosure = ET.SubElement(item, "enclosure", url=asset['browser_download_url'], length=str(asset['size']), type=asset['content_type'])
- # enclosure.set(ET.QName(nsmap['sparkle'], 'version'), release['tag_name'][1:])
+ ET.SubElement(item, "enclosure", url=asset['browser_download_url'], length=str(asset['size']), type=asset['content_type'])
break # Include only one main file per release, remove break for multiple
# Convert the XML tree to a nicely formatted string