-
Notifications
You must be signed in to change notification settings - Fork 2
/
.milk.yml
43 lines (36 loc) · 1.09 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
---
# chocomilk vars
# Package Changelog
changelog: 'https://helpx.adobe.com/creative-cloud/release-note/cc-release-notes.html'
# Regex for Version
version: "{{ register_changelog.content |
regex_search('.*<p>Version.*') |
regex_search('(\\d+)(.)(\\d+)(.)(\\d+)(.)(\\d+)')
}}"
# Download URL
url: 'https://ccmdls.adobe.com/AdobeProducts/KCCC/1/win32/CreativeCloudSet-Up.exe'
# url64:
searchreplace:
'tools/chocolateyinstall.ps1':
- regwxp: (^\s*[$]*checksumPackage\s*=\s*)('.*')
replace: '$checksumPackage = "{{ 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: github
name: 'itigo-bot'
email: '[email protected]'
url: github.com/itigoag/chocolatey.adobe-creative-cloud.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'