makr 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/data/makr/Makefile.erb +21 -1
- data/data/makr/config.yaml +23 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 330ce15876b14a9cd3209263e8ee72840b6133e6
|
4
|
+
data.tar.gz: dcca14003a59a95cc04749c4faf562b70dd65867
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c748bbb5e3e6e33918b761842d31728f7b3984dd8061a880d67776c3e46befdf58c3550703f3d12f2be62bd78af4e2702bc1bfe1e89ea11ed7ebaf1105c63f52
|
7
|
+
data.tar.gz: 492f76dd8db2146da2455f2da437da1607763620691da9f57e5b702d250a4a406f3c066d724e6c380063912810717f1335d1503a40bd342ceb5bd2445f48ebb0
|
data/data/makr/Makefile.erb
CHANGED
@@ -64,7 +64,27 @@ $(IPAS_PATH)/<%=ipa["name"]%>.ipa: $(IPAS_PATH) $(ARCHIVES_PATH)/<%=archive["nam
|
|
64
64
|
-exportPath "$@"
|
65
65
|
|
66
66
|
<% Array(ipa["distributions"]).each do |distribution| -%>
|
67
|
-
<% if distribution["type"] == "
|
67
|
+
<% if distribution["type"] == "hockeyapp" -%>
|
68
|
+
# Upload <%=ipa["name"]%>.ipa to <%=distribution["type"]%>
|
69
|
+
distribute-<%= ipa["name"] %>-<%= distribution["name"] %>:
|
70
|
+
curl https://rink.hockeyapp.net/api/2/apps/upload \
|
71
|
+
-H 'X-HockeyAppToken: <%= distribution["api-token"] %>' \
|
72
|
+
-F ipa=@'$(IPAS_PATH)/<%= ipa["name"] %>.ipa' \
|
73
|
+
-F notes='<%= distribution["notes"] %>' \
|
74
|
+
-F notes_type='<%= distribution["notes_type"] %>' \
|
75
|
+
-F notify='<%= distribution["notify"] %>' \
|
76
|
+
-F status='<%= distribution["status"] %>' \
|
77
|
+
-F tags='<%= distribution["tags"] %>' \
|
78
|
+
-F teams='<%= distribution["teams"] %>' \
|
79
|
+
-F users='<%= distribution["users"] %>' \
|
80
|
+
-F mandatory='<%= distribution["mandatory"] %>' \
|
81
|
+
-F release_type='<%= distribution["release_type"] %>' \
|
82
|
+
-F private='<%= distribution["private"] %>' \
|
83
|
+
-F commit_sha='<%= distribution["commit_sha"] %>' \
|
84
|
+
-F build_server_url='<%= distribution["build_server_url"] %>' \
|
85
|
+
-F repository_url='<%= distribution["repository_url"] %>' \
|
86
|
+
|
87
|
+
<% elsif distribution["type"] == "testflight" -%>
|
68
88
|
# Upload <%=ipa["name"]%>.ipa to <%=distribution["type"]%>
|
69
89
|
distribute-<%= ipa["name"] %>-<%= distribution["name"] %>:
|
70
90
|
curl http://testflightapp.com/api/builds.json \
|
data/data/makr/config.yaml
CHANGED
@@ -21,10 +21,27 @@
|
|
21
21
|
profile: "profile-name" # Provisioning profile to use when exporting ipa.
|
22
22
|
distributions: # List of all distributions for the parent ipa
|
23
23
|
-
|
24
|
-
type: "testflight" # Distribution type.
|
24
|
+
type: "testflight" # Distribution type.
|
25
|
+
name: "" # Distribution name. Run with make distribute my-name
|
26
|
+
team-token: "" # Testflight team token.
|
27
|
+
api-token: "" # Testflight API token.
|
28
|
+
distribution-list: "" # (Optional) Testflight distribution list.
|
29
|
+
notes: "New build!" # (Optional) Release notes
|
30
|
+
notify: true # (Optional) Wether or not to notify people in distribution-list
|
31
|
+
-
|
32
|
+
type: "hockeyapp" # Distribution type.
|
33
|
+
api-token: "" # X-HockeyAppToken
|
25
34
|
name: "my-name" # Distribution name. Run with make distribute my-name
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
35
|
+
notes: "New build!" # (Optional) Release notes as Textile or Markdown
|
36
|
+
notes_type: 0 # (Optional) Type of release notes: 0 for Textile, 1 for Markdown
|
37
|
+
notify: 0 # (Optional) Notify testers: 0 no notify, 1 notify testers that can install app, 2 notify all
|
38
|
+
status: 1 # (Optional) Download status: 1 don't allow users to download, 2 make available for download
|
39
|
+
tags: "" # (Optional) Restrict download to comma-separated list of tags
|
40
|
+
teams: "" # (Optional) Restrict download to comma-separated list of team IDs
|
41
|
+
users: "" # (Optional) Restrict download to comma-separated list of user IDs
|
42
|
+
mandatory: 0 # (Optional) Set version as mandatory: 0 for not mandatory, 1 for mandatory
|
43
|
+
release_type: 0 # (Optional) 2 for alpha, 0 for beta [default], 1 for store, 3 for enterprise
|
44
|
+
private: false # (Optional) Set to true to enable the private download page
|
45
|
+
commit_sha: "" # (Optional) Set to the git commit sha for this build
|
46
|
+
build_server_url: "" # (Optional) Set to the URL of the build job on your build server
|
47
|
+
repository_url: "" # (Optional) Set to your source repository
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: makr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Carter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Makr reads the config.yaml file in the current directory to generate
|
14
14
|
a Makefile capable of building, testing, and distributing Xcode projects and workspaces.
|