makr 1.0.3 → 1.0.4

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: 7b2436bfd6d7a87f77e8ce4ed19be812eeaf199d
4
- data.tar.gz: 2b8df0108bc9b401847c15ca7a8a6bb9dd776cea
3
+ metadata.gz: 66ab4dfa70743c4856055556cd2924a5ab955fca
4
+ data.tar.gz: 1f6dd10ccf4e9fdf4fcc8161f7d1edfac66ff2b8
5
5
  SHA512:
6
- metadata.gz: ef44c8a5225a39d5692a2b352016e6a4e80f6312740b5a5b4d872c12b68ac7105a3b2bf50ba9863a3df269beaa4c70820fb830e38ff836c4f96f529820e3c624
7
- data.tar.gz: 0b037a689613c96b8ee0c8d7419a31e8248c53277d11a3cde666cafdf6a095147c834042c384eb2bbb09c736220ade7e608df3e20c1ab349cd1a121131e089ec
6
+ metadata.gz: ed2cb69e00ea05e0013cbb17d590ae857543e35c83bc427c47a7da8c06731abded8e645a519083aa72880559be199996fb3a6f90afde4a0f92abaee7ad6dfe3c
7
+ data.tar.gz: 3ff71cded3c80fb21ce603063a0e01ff4af49e33629ad309b1f90a22425162ec9b089fd5fb68c8733cebb048c4c190132cc89fb3308b50c2e2e6ee61736e9796
@@ -1,3 +1,6 @@
1
+ # Generated by Makr 1.0.4
2
+ # https://github.com/willowtreeapps/Makr
3
+
1
4
  # Path for built products
2
5
  ARTIFACTS_PATH = artifacts
3
6
 
@@ -23,8 +26,8 @@ BUILD_ENV_OPTIONS = SHARED_PRECOMPS_DIR="$(TEMP_DIR)/precomps" \
23
26
  ARCHIVES = <% config["archives"].each do |archive| %>$(ARCHIVES_PATH)/<%= archive["name"] %>.xcarchive <% end %>
24
27
 
25
28
  # IPAs
26
- IPAS = <% config["archives"].each do |archive| -%>
27
- <% archive["ipas"].each do |ipa| -%>
29
+ IPAS = <% Array(config["archives"]).each do |archive| -%>
30
+ <% Array(archive["ipas"]).each do |ipa| -%>
28
31
  $(IPAS_PATH)/<%= ipa["name"] %>.ipa <% end -%><% end -%>
29
32
 
30
33
  # Get current version
@@ -85,7 +88,7 @@ distribute-<%= distribution["name"] %>:
85
88
  -F api_token='<%= distribution["api-token"] %>' \
86
89
  -F notes='<%= distribution["notes"] %>' \
87
90
  -F team_token='<%= distribution["team-token"] %>' \
88
- -F notify='<%= distribution["notify"].to_s %>' \
91
+ -F notify=<%= distribution["notify"].to_s.capitalize %> \
89
92
  -F distribution_lists='<%= distribution["distribution-list"] %>'
90
93
 
91
94
  <% end -%>
@@ -97,15 +100,13 @@ $(IPAS_PATH):
97
100
  mkdir -p $(IPAS_PATH)
98
101
 
99
102
  # Run all distribution tasks
100
- distribute-all: <% config["archives"].each do |archive| -%>
101
- <% archive["ipas"].each do |ipa| -%>
102
- <% if ipa["distributions"] != nil -%>
103
- <% ipa["distributions"].each do |distribution| -%>
103
+ distribute-all: <% Array(config["archives"]).each do |archive| -%>
104
+ <% Array(archive["ipas"]).each do |ipa| -%>
105
+ <% Array(ipa["distributions"]).each do |distribution| -%>
104
106
  distribute-<%= distribution["name"] -%>
105
107
  <% end -%>
106
108
  <% end -%>
107
109
  <% end -%>
108
- <% end -%>
109
110
 
110
111
 
111
112
  <% Array(config["tests"]).each do |test| -%>
@@ -27,3 +27,4 @@
27
27
  api-token: "api-token" # Testflight API token.
28
28
  distribution-list: "list" # Testflight distribution list.
29
29
  notes: "New build!" # Release notes
30
+ notify: true # Wether or not to notify people in distribution-list
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: makr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Carter