11---
22description : " #{repo}"
33builds :
4- - platform : " debian "
4+ - platform : " alpine "
55 arch : " amd64"
6- asset_filename : " #{repo}_#{version}_debian_linux_amd64 .tar.gz"
6+ asset_filename : " #{repo}_#{version}_alpine_linux_amd64 .tar.gz"
77 sha_filename : " #{repo}_#{version}_sha512-checksums.txt"
88 filter :
99 - " entity.system.os == 'linux'"
1010 - " entity.system.arch == 'amd64'"
11- - " entity.system.platform_family == 'debian'"
12- - platform : " centos"
11+ - " entity.system.platform == 'alpine'"
12+ - " entity.system.platform_version.split('.')[0] == '3'"
13+ - platform : " alpine3.8"
1314 arch : " amd64"
14- asset_filename : " #{repo}_#{version}_centos_linux_amd64 .tar.gz"
15+ asset_filename : " #{repo}_#{version}_alpine3.8_linux_amd64 .tar.gz"
1516 sha_filename : " #{repo}_#{version}_sha512-checksums.txt"
1617 filter :
1718 - " entity.system.os == 'linux'"
1819 - " entity.system.arch == 'amd64'"
19- - " entity.system.platform_family == 'rhel '"
20+ - " entity.system.platform == 'alpine '"
2021- platform : " centos6"
2122 arch : " amd64"
2223 asset_filename : " #{repo}_#{version}_centos6_linux_amd64.tar.gz"
@@ -25,7 +26,7 @@ builds:
2526 - " entity.system.os == 'linux'"
2627 - " entity.system.arch == 'amd64'"
2728 - " entity.system.platform_family == 'rhel'"
28- - " parseInt( entity.system.platform_version.split('.')[0]) > 6 "
29+ - " entity.system.platform_version.split('.')[0] == '6' "
2930- platform : " centos7"
3031 arch : " amd64"
3132 asset_filename : " #{repo}_#{version}_centos7_linux_amd64.tar.gz"
@@ -34,4 +35,19 @@ builds:
3435 - " entity.system.os == 'linux'"
3536 - " entity.system.arch == 'amd64'"
3637 - " entity.system.platform_family == 'rhel'"
37- - " parseInt(entity.system.platform_version.split('.')[0]) > 7"
38+ - " entity.system.platform_version.split('.')[0] == '7'"
39+ - platform : " debian"
40+ arch : " amd64"
41+ asset_filename : " #{repo}_#{version}_debian_linux_amd64.tar.gz"
42+ sha_filename : " #{repo}_#{version}_sha512-checksums.txt"
43+ filter :
44+ - " entity.system.os == 'linux'"
45+ - " entity.system.arch == 'amd64'"
46+ - " entity.system.platform_family == 'debian'"
47+ - platform : " debian9"
48+ arch : " amd64"
49+ asset_filename : " #{repo}_#{version}_debian9_linux_amd64.tar.gz"
50+ sha_filename : " #{repo}_#{version}_sha512-checksums.txt"
51+ filter :
52+ - " entity.system.os == 'linux'"
53+ - " entity.system.arch == 'amd64'"
0 commit comments