AppCast Generator: <sparkle:releaseNotesLink> issue? #426
Replies: 1 comment
-
Hi @nicolatorpei, Thanks for the report and for doing your research ahead of time! I tried to replicate your issue (b260920). I believe that the whitespace is coming about due to lack of using the In any case, because I believe the extra whitespace is coming from the assembly version, I pushed the I have pushed out a release for the app cast generator, 2.2.1.0, for this issue. Let me know if it works. Thanks! :) |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have an issue with the appcast generator related to the
<sparkle:releaseNotesLink>
. Could be related my local data file names or a small bug in the AppCastMaker.cs. This is my scenario:-a www -e exe -b www/builds -n "App Name" -u http://baseURL/appname/builds/ -p www/changelogs -l http://baseURL/appname/changelogs/ --overwrite-old-items --human-readable
rootFolder/
├─ www/
│ ├─ builds/
│ │ ├─ build_1.0.exe
│ │ ├─ build_1.1.exe
│ ├─ changelogs/
│ │ ├─ 1.0.md
│ │ ├─ 1.1.md
│ ├─ appcast.xml
Running the generator I am not able to generate the appcast.xml filled with the tag
<sparkle:releaseNotesLink>
and the desired value of (for v. 1.0)http://baseURL/appname/changelogs/1.0.md
.So I debugged the AppCastMaker.cs (both last develop and last avalonia-preview branches commit) and I noticed that at row 204:
The
productVersion
string value has a lot of trailing spaces so the value ofFile.Exists(changelogPath)
is alwaysfalse
.Adding a
Trim()
to theproductName
string results in the expected behaviour.And I can have the appcast.xml with the
<sparkle:releaseNotesLink>
correctly filled for each build.Beta Was this translation helpful? Give feedback.
All reactions