-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
distribute_options.yaml
51 lines (51 loc) · 1.41 KB
/
distribute_options.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# flutter_distributor release --name bundle
# flutter_distributor package --platform macos --targets dmg --artifact-name '{{name}}-{{version}}-{{platform}}-arm.{{ext}}'
# flutter_distributor publish --path APP_PATH --targets github --github-repo-owner=rohitsangwan01 --github-repo-name uni_control_hub
output: dist/
artifact_name: '{{name}}-{{version}}-{{platform}}.{{ext}}'
releases:
## Only Build Locally
- name: bundle
jobs:
- name: macos
package:
platform: macos
target: dmg
- name: windows
package:
platform: windows
target: exe
- name: linux
package:
platform: linux
target: deb
## Build and publish to github
- name: publish
jobs:
- name: macos
package:
platform: macos
target: dmg
publish:
target: github
args:
repo-owner: rohitsangwan01
repo-name: uni_control_hub
- name: windows
package:
platform: windows
target: exe
publish:
target: github
args:
repo-owner: rohitsangwan01
repo-name: uni_control_hub
- name: linux
package:
platform: linux
target: deb
publish:
target: github
args:
repo-owner: rohitsangwan01
repo-name: uni_control_hub