Closed haircut closed 5 years ago
Your solution is an improvement if they have fully switched to GitHub (or if GitHub is always an option), but it does eliminate capturing the version from the regex string. Let me see if I can change the pkg recipe to gather the version information from the app bundle. If I can, I will accept this PR. (It might take a few days; just getting back from vacation.)
Confirmed that I need to add a Versioner processor to the pkg recipe to generate the same results as the current recipe chain. Once that is done, I will merge this one.
Never mind. Apparently the GitHubReleasesInfoProvider
processor grabs the same version number that the regex did in the previous recipe (rather than the value for CFBundleShortVersionString
, which has a build number appended). Merging.
It appears MuseScore is now providing full releases on GitHub, and the previous
URLTextSearcher
download recipe was no longer working reliably for me.Switching to
GitHubReleasesInfoProvider
and filtering by the regexMuseScore-[\.\d]+\.dmg
allows for the proper download of the DMG.