billymeltdown-choctop 0.11.0.6 → 0.11.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,10 +5,10 @@ module ChocTop::Appcast
5
5
  else
6
6
  sh "xcodebuild -configuration #{build_type} #{build_opts}"
7
7
  end
8
- if codesign_identity
9
- sh "codesign -v -s 'Zetetic LLC' '#{build_products}/#{target}'"
10
- sh "codesign -dv '#{build_products}/#{target}'"
11
- end
8
+ # if codesign_identity
9
+ # sh "codesign -v -s 'Zetetic LLC' '#{build_products}/#{target}'"
10
+ # sh "codesign -dv '#{build_products}/#{target}'"
11
+ # end
12
12
  end
13
13
 
14
14
  def make_appcast
data/lib/choctop/dmg.rb CHANGED
@@ -1,4 +1,10 @@
1
1
  module ChocTop::Dmg
2
+
3
+ def codesign
4
+ sh "codesign -v -s 'Zetetic LLC' '#{src_folder}/#{target}'"
5
+ sh "codesign -dv '#{src_folder}/#{target}'"
6
+ end
7
+
2
8
  def prepare_files
3
9
  self.files = files.inject({}) do |files, file|
4
10
  path_or_helper, options = file
@@ -26,6 +32,7 @@ module ChocTop::Dmg
26
32
  def make_dmg
27
33
  prepare_files
28
34
  copy_files
35
+ codesign if codesign_identity
29
36
  FileUtils.mkdir_p build_path
30
37
  FileUtils.mkdir_p mountpoint # TODO can we remove random mountpoints?
31
38
  FileUtils.rm_f(pkg) # make sure destination pkg doesn't already exist, or hdiutil will barf
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 0
7
7
  - 11
8
8
  - 0
9
- - 6
10
- version: 0.11.0.6
9
+ - 7
10
+ version: 0.11.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dr Nic Williams