phase 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c0e05d1823d6db24fc626a2401e46661cc90f5ce
4
- data.tar.gz: ed876996eda29eba97b94d827df8119d6cab93d7
3
+ metadata.gz: 10440d3e6c62be5f073c190074e527271d89ac18
4
+ data.tar.gz: 214683559f3814b5169c1b158eb26ff86de4ea4f
5
5
  SHA512:
6
- metadata.gz: 9b6ab4a3dc89082fc6b769d5d5b302e7288ba6083312f8523118425721322949b8dca51bca9dbe1ae720285e76b2a228f4897040bf11e6c625b209c49f0d3904
7
- data.tar.gz: 8ae0ec1e4d1a2b1267c9d4bf7445ddf4464bf45f296258b02e03bb416c360832c2208c74642a0ce24092004d04f223ca06ca3f6828399c6a7b18c55f5772429f
6
+ metadata.gz: 1618c84f1041d1024b70938f0b14041bdca3fe89a804267446f634808142a3f9696d5c81af75304330d7e2f6acf6e2598d65b396e3f002beab4212ed3b440121
7
+ data.tar.gz: fb00cc6e1222ed04b7102aa7082b558d89c4a30f746117fdb790de2945961b204e7d49a500505724528488bf95c52f9b58b9882f120df6440eef74691d7b152f
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.6
1
+ 0.0.7
@@ -29,14 +29,22 @@ module Phase
29
29
  write_plist!(app)
30
30
  copy_ipa!(app)
31
31
  upload!(app)
32
+
33
+ log "...done"
34
+ log ""
32
35
  end
33
36
 
34
37
  write_manifest!
35
38
  end
36
39
 
37
40
  def write_manifest!
38
- ::File.join(::Dir.pwd, version, "manifest.txt") do |file|
39
- apps.each { |app| file << app.install_link }
41
+ log "writing manifest"
42
+
43
+ manifest_path = ::File.join(::Dir.pwd, version, "manifest.txt")
44
+ ::File.open(manifest_path, 'w') do |file|
45
+ apps.each do |app|
46
+ file << "itms-services://?action=download-manifest&url=https://s3.amazonaws.com/#{bucket}/#{prefix}/#{app.plist_filename}"
47
+ end
40
48
  end
41
49
  end
42
50
 
data/lib/phase/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Phase
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
data/lib/phase.rb CHANGED
@@ -3,7 +3,6 @@ require 'capistrano'
3
3
  require 'colorize'
4
4
  require 'fog'
5
5
  require 'progressbar'
6
- require 'pry'
7
6
  require 'sshkit'
8
7
  require 'terminal-table'
9
8
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phase
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piers Mainwaring