Skip to content

Commit 3acf180

Browse files
author
Jef Spaleta
committed
Fix platform_version attribute name
1 parent fbc5a36 commit 3acf180

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.bonsai.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ builds:
99
- "entity.system.os == 'linux'"
1010
- "entity.system.arch == 'amd64'"
1111
- "entity.system.platform == 'alpine'"
12-
- "entity.system.platform_release.split('.')[0] == '3'"
12+
- "entity.system.platform_version.split('.')[0] == '3'"
1313
- platform: "alpine3.8"
1414
arch: "amd64"
1515
asset_filename: "#{repo}_#{version}_ruby-2.4.4_alpine3.8_linux_amd64.tar.gz"
@@ -34,7 +34,7 @@ builds:
3434
- "entity.system.os == 'linux'"
3535
- "entity.system.arch == 'amd64'"
3636
- "entity.system.platform_family == 'rhel'"
37-
- "entity.system.platform_release.split('.')[0] == '6'"
37+
- "entity.system.platform_version.split('.')[0] == '6'"
3838
- platform: "centos7"
3939
arch: "amd64"
4040
asset_filename: "#{repo}_#{version}_ruby-2.4.4_centos7_linux_amd64.tar.gz"
@@ -43,7 +43,7 @@ builds:
4343
- "entity.system.os == 'linux'"
4444
- "entity.system.arch == 'amd64'"
4545
- "entity.system.platform_family == 'rhel'"
46-
- "entity.system.platform_release.split('.')[0] == '7'"
46+
- "entity.system.platform_version.split('.')[0] == '7'"
4747
- platform: "debian"
4848
arch: "amd64"
4949
asset_filename: "#{repo}_#{version}_ruby-2.4.4_debian_linux_amd64.tar.gz"
@@ -60,4 +60,4 @@ builds:
6060
- "entity.system.os == 'linux'"
6161
- "entity.system.arch == 'amd64'"
6262
- "entity.system.platform_family == 'debian'"
63-
- "entity.system.platform_release.split('.')[0] == '9'"
63+
- "entity.system.platform_version.split('.')[0] == '9'"

0 commit comments

Comments
 (0)