diff --git a/.bonsai.yml b/.bonsai.yml index cd062dd..7fa65b7 100644 --- a/.bonsai.yml +++ b/.bonsai.yml @@ -9,15 +9,14 @@ builds: - "entity.system.os == 'linux'" - "entity.system.arch == 'amd64'" - "entity.system.platform == 'alpine'" - - "entity.system.platform_version.split('.')[0] == '3'" -- platform: "alpine3.8" +- platform: "debian" arch: "amd64" - asset_filename: "#{repo}_#{version}_alpine3.8_linux_amd64.tar.gz" + asset_filename: "#{repo}_#{version}_debian_linux_amd64.tar.gz" sha_filename: "#{repo}_#{version}_sha512-checksums.txt" filter: - "entity.system.os == 'linux'" - "entity.system.arch == 'amd64'" - - "entity.system.platform == 'alpine'" + - "entity.system.platform_family == 'debian'" - platform: "centos6" arch: "amd64" asset_filename: "#{repo}_#{version}_centos6_linux_amd64.tar.gz" @@ -26,7 +25,7 @@ builds: - "entity.system.os == 'linux'" - "entity.system.arch == 'amd64'" - "entity.system.platform_family == 'rhel'" - - "entity.system.platform_version.split('.')[0] == '6'" + - "parseInt(entity.system.platform_version.split('.')[0]) == 6" - platform: "centos7" arch: "amd64" asset_filename: "#{repo}_#{version}_centos7_linux_amd64.tar.gz" @@ -35,22 +34,14 @@ builds: - "entity.system.os == 'linux'" - "entity.system.arch == 'amd64'" - "entity.system.platform_family == 'rhel'" - - "entity.system.platform_version.split('.')[0] == '7'" -- platform: "debian" - arch: "amd64" - asset_filename: "#{repo}_#{version}_debian_linux_amd64.tar.gz" - sha_filename: "#{repo}_#{version}_sha512-checksums.txt" - filter: - - "entity.system.os == 'linux'" - - "entity.system.arch == 'amd64'" - - "entity.system.platform_family == 'debian'" -- platform: "debian9" + - "parseInt(entity.system.platform_version.split('.')[0]) == 7" +- platform: "centos8" arch: "amd64" - asset_filename: "#{repo}_#{version}_debian9_linux_amd64.tar.gz" + asset_filename: "#{repo}_#{version}_centos8_linux_amd64.tar.gz" sha_filename: "#{repo}_#{version}_sha512-checksums.txt" filter: - "entity.system.os == 'linux'" - "entity.system.arch == 'amd64'" - - "entity.system.platform_family == 'debian'" - - "entity.system.platform_version.split('.')[0] == '9'" - + - "entity.system.platform_family == 'rhel'" + - "parseInt(entity.system.platform_version.split('.')[0]) == 8" + diff --git a/CHANGELOG.md b/CHANGELOG.md index dbd4f58..bccb279 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ This project adheres to [Semantic Versioning](http://semver.org/). This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins/community/blob/master/HOW_WE_CHANGELOG.md) ## [Unreleased] +### Fixed +- centos8 asset target ## [4.1.0] - 2020-07-02 ### Changed