Skip to content

Commit d37b622

Browse files
committed
Update GitUp.download.recipe
Switches to GitHubReleasesInfoProvider
1 parent 47aec69 commit d37b622

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

GitUp/GitUp.download.recipe

+12-8
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,32 @@
33
<plist version="1.0">
44
<dict>
55
<key>Description</key>
6-
<string>Downloads the latest version of GitUp. Set RELEASE_CHANNEL to "stable" or "continuous".</string>
6+
<string>Downloads the latest version of GitUp.
7+
8+
Set PRERELEASE to a non-empty string to download prereleases, either via Input in an override or via the -k option, i.e.: `-k PRERELEASE=yes`</string>
79
<key>Identifier</key>
810
<string>io.github.hjuutilainen.download.GitUp</string>
911
<key>Input</key>
1012
<dict>
1113
<key>NAME</key>
1214
<string>GitUp</string>
13-
<key>RELEASE_CHANNEL</key>
14-
<string>stable</string>
15+
<key>PRERELEASE</key>
16+
<string></string>
1517
</dict>
1618
<key>MinimumVersion</key>
1719
<string>0.5.0</string>
1820
<key>Process</key>
1921
<array>
2022
<dict>
21-
<key>Processor</key>
22-
<string>SparkleUpdateInfoProvider</string>
2323
<key>Arguments</key>
2424
<dict>
25-
<key>appcast_url</key>
26-
<string>https://s3-us-west-2.amazonaws.com/gitup-builds/%RELEASE_CHANNEL%/appcast.xml</string>
25+
<key>asset_regex</key>
26+
<string>.*\.zip$</string>
27+
<key>github_repo</key>
28+
<string>git-up/GitUp</string>
2729
</dict>
30+
<key>Processor</key>
31+
<string>GitHubReleasesInfoProvider</string>
2832
</dict>
2933
<dict>
3034
<key>Processor</key>
@@ -62,7 +66,7 @@
6266
<key>requirement</key>
6367
<string>anchor apple generic and identifier "co.gitup.mac" and (certificate leaf[field.1.2.840.113635.100.6.1.9] /* exists */ or certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = FP44AY6HHW)</string>
6468
<key>strict_verification</key>
65-
<true />
69+
<true/>
6670
</dict>
6771
</dict>
6872
</array>

0 commit comments

Comments
 (0)