diff --git a/dist/macos/update_appcast_tip.py b/dist/macos/update_appcast_tip.py index ec3878bc1..fae10c627 100644 --- a/dist/macos/update_appcast_tip.py +++ b/dist/macos/update_appcast_tip.py @@ -35,6 +35,9 @@ with open("sign_update.txt", "r") as f: value = value[1:-1] attrs[key] = value +# We need to register our namespaces before reading or writing any files. +ET.register_namespace("sparkle", "http://www.andymatuschak.org/xml-namespaces/sparkle") + # Open our existing appcast and find the channel element. This is where # we'll add our new item. et = ET.parse('appcast.xml') @@ -54,7 +57,7 @@ elem = ET.SubElement(item, "sparkle:minimumSystemVersion") elem.text = "12.0.0" elem = ET.SubElement(item, "description") elem.text = f""" -
Automated build from commit
{commit}. +
Automated build from commit {commit}
.