From 3acf180254ccbe4418192b00f6c0a669bdb434b7 Mon Sep 17 00:00:00 2001 From: Jef Spaleta Date: Mon, 17 Jun 2019 11:00:02 -0800 Subject: [PATCH] Fix platform_version attribute name --- .bonsai.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.bonsai.yml b/.bonsai.yml index 092f719..171bfa4 100644 --- a/.bonsai.yml +++ b/.bonsai.yml @@ -9,7 +9,7 @@ builds: - "entity.system.os == 'linux'" - "entity.system.arch == 'amd64'" - "entity.system.platform == 'alpine'" - - "entity.system.platform_release.split('.')[0] == '3'" + - "entity.system.platform_version.split('.')[0] == '3'" - platform: "alpine3.8" arch: "amd64" asset_filename: "#{repo}_#{version}_ruby-2.4.4_alpine3.8_linux_amd64.tar.gz" @@ -34,7 +34,7 @@ builds: - "entity.system.os == 'linux'" - "entity.system.arch == 'amd64'" - "entity.system.platform_family == 'rhel'" - - "entity.system.platform_release.split('.')[0] == '6'" + - "entity.system.platform_version.split('.')[0] == '6'" - platform: "centos7" arch: "amd64" asset_filename: "#{repo}_#{version}_ruby-2.4.4_centos7_linux_amd64.tar.gz" @@ -43,7 +43,7 @@ builds: - "entity.system.os == 'linux'" - "entity.system.arch == 'amd64'" - "entity.system.platform_family == 'rhel'" - - "entity.system.platform_release.split('.')[0] == '7'" + - "entity.system.platform_version.split('.')[0] == '7'" - platform: "debian" arch: "amd64" asset_filename: "#{repo}_#{version}_ruby-2.4.4_debian_linux_amd64.tar.gz" @@ -60,4 +60,4 @@ builds: - "entity.system.os == 'linux'" - "entity.system.arch == 'amd64'" - "entity.system.platform_family == 'debian'" - - "entity.system.platform_release.split('.')[0] == '9'" + - "entity.system.platform_version.split('.')[0] == '9'"