fwtoolkit 0.4.2 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -73,8 +73,10 @@ module FWToolkit
|
|
73
73
|
end
|
74
74
|
|
75
75
|
task :validate_auth_token do
|
76
|
-
|
77
|
-
|
76
|
+
unless ENV['FWBUILD_AUTH_TOKEN']
|
77
|
+
puts 'Please set FWBUILD_AUTH_TOKEN environment variable'
|
78
|
+
exit(-1)
|
79
|
+
end
|
78
80
|
end
|
79
81
|
|
80
82
|
task :upload do
|
@@ -82,7 +84,7 @@ module FWToolkit
|
|
82
84
|
file_name = "#{scheme}.ipa"
|
83
85
|
key = File.join('uploads', file_name)
|
84
86
|
sh("curl -X POST -F 'key=#{key}' -F 'acl=bucket-owner-full-control' -F 'file=@/tmp/artifacts/Applications/#{scheme}.ipa' https://fw.fwbuild.production.s3.amazonaws.com/ --progress-bar")
|
85
|
-
sh("curl '
|
87
|
+
sh("curl -X POST -d 'bundle_identifier=#{@bundle_identifier}&s3_upload_name=#{file_name}&auth_token=#{auth_token}&build[version]=#{DateTime.now.to_s}' http://fwbuild.futureworkshops.com/apps/builds.json")
|
86
88
|
end
|
87
89
|
|
88
90
|
desc 'Build and Upload IPA'
|
data/lib/fwtoolkit/version.rb
CHANGED
data/templates/cucumber/env.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fwtoolkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-11-
|
12
|
+
date: 2012-11-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cucumber
|