-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.milk.yml
46 lines (39 loc) · 1.17 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
---
# chocomilk vars
# Package Changelog
changelog: 'https://shop.crealogix.com/software-updates/pm-office5.html'
# Regex for Version
version: "{{ register_changelog.content |
regex_search('.*Aktuelle Version.*') |
regex_search('\\d.\\d.\\d.\\d\\b')
}}"
# Download URL
url: 'https://shop.crealogix.com/download/get/file/pm5.office'
# url64:
searchreplace:
'tools/chocolateyinstall.ps1':
- regwxp: (^\s*[$]*checksumZip\s*=\s*)('.*')
replace: '$checksumZip = "{{ file_hash }}"'
# readme to description
readme:
start: 5
end: 13
# deploy
deploy:
- provider: chocolatey
repository: 'https://nuget.itigo.tech/upload'
key: "{{ lookup('env','CHOCOLATEY_ITIGO_API_KEY') }}"
- provider: chocolatey
repository: 'https://push.chocolatey.org/'
key: "{{ lookup('env','CHOCOLATEY_ORG_API_KEY') }}"
- provider: github
name: 'itigo-bot'
email: '[email protected]'
url: github.com/itigoag/chocolatey.crealogix-paymaker-office.git
key: "{{ lookup('env','GITHUB_API_KEY') }}"
# Notification
notifications:
- provider: mattermost
url: 'https://matters.itigo.tech'
key: "{{ lookup('env','MATTERMOST_API_KEY') }}"
channel: 'software-packages'