forked from itigoag/chocolatey.bria
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.milk.yml
47 lines (40 loc) · 1.28 KB
/
.milk.yml
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
---
# chocomilk vars
# Package Changelog
changelog: 'https://raw.githubusercontent.com/itigoag/chocolatey.version/master/bria.json'
# Regex for Version
version: "{{ register_changelog.content |
regex_search('\\d+.\\d+.\\d+_\\d+\\b')
}}"
# Download URL
url: 'https://counterpath.s3.amazonaws.com/downloads/Bria_{{ version }}.exe'
searchreplace:
'tools/chocolateyinstall.ps1':
- regwxp: (^\s*[$]*urlPackage\s*=\s*)('.*')
replace: "$urlPackage = '{{ url }}'"
- regwxp: (^\s*[$]*checksumPackage\s*=\s*)('.*')
replace: "$checksumPackage = '{{ file_hash }}'"
# readme to decripton
readme:
start: 5
end: 23
# deploy
deploy:
# not public
# - provider: chocolatey
# repository: "https://push.chocolatey.org/"
# key: "{{ lookup('env','CHOCOLATEY_ORG_API_KEY') }}"
- provider: chocolatey
repository: "https://nuget.itigo.tech/upload"
key: "{{ lookup('env','CHOCOLATEY_ITIGO_API_KEY') }}"
- provider: github
name: "OpenCircle-Choco-Bot"
email: "[email protected]"
url: github.com/open-circle-ltd/chocolatey.bria.git
key: "{{ lookup('env','GITHUB_API_KEY') }}"
# Notification
notifications:
- provider: mattermost
url: "https://chat.open-circle.ch"
key: "{{ lookup('env','MATTERMOST_API_KEY') }}"
channel: "notification-chocolatey"