Skip to content

Commit

Permalink
AutoPkg: pull version info out of autopkglib/version.plist
Browse files Browse the repository at this point in the history
- also a demonstration of MinimumVersion
  • Loading branch information
timsutton committed Aug 11, 2013
1 parent d45956b commit be94692
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions AutoPkg/AutoPkg.plist
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
<string>com.github.autopkg.autopkg</string>
<key>NAME</key>
<string>autopkg</string>
<key>VERSION</key>
<string>0.1</string>
<key>URL</key>
<string>https://github.com/autopkg/autopkg/zipball/master</string>
</dict>
<key>MinimumVersion</key>
<string>0.1.0</string>
<key>Process</key>
<array>
<dict>
Expand Down Expand Up @@ -54,6 +54,19 @@
<key>Processor</key>
<string>AutoPkgSourceFinder</string>
</dict>
<dict>
<key>Comment</key>
<string>Extract a version string from version.plist to use for the package.</string>
<key>Arguments</key>
<dict>
<key>input_plist_path</key>
<string>%autopkg_path%/Code/autopkglib/version.plist</string>
<key>plist_version_key</key>
<string>Version</string>
</dict>
<key>Processor</key>
<string>Versioner</string>
</dict>
<dict>
<key>Comment</key>
<string>Create a pkg root; we'll extract things from the disk image here.</string>
Expand Down Expand Up @@ -187,7 +200,7 @@
<key>Arguments</key>
<dict>
<key>version</key>
<string>%VERSION%</string>
<string>%version%</string>
<key>template_path</key>
<string>%RECIPE_DIR%/PackageInfoTemplate</string>
<key>infofile</key>
Expand Down

0 comments on commit be94692

Please sign in to comment.