Repository navigation
AppCast Generator: <sparkle:releaseNotesLink> issue? #426
Unanswered
nicolatorpei
asked this question in
Q&A
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! :) |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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-readablerootFolder/
├─ 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
productVersionstring value has a lot of trailing spaces so the value ofFile.Exists(changelogPath)is alwaysfalse.Adding a
Trim()to theproductNamestring results in the expected behaviour.And I can have the appcast.xml with the
<sparkle:releaseNotesLink>correctly filled for each build.All reactions