diff --git a/.github/workflows/conventional-commits.yml b/.github/workflows/conventional-commits.yml new file mode 100644 index 0000000..524876f --- /dev/null +++ b/.github/workflows/conventional-commits.yml @@ -0,0 +1,14 @@ +--- +name: conventional-commits + +"on": + pull_request: + types: + - opened + - reopened + - edited + - synchronize + +jobs: + conventional-commits: + uses: sous-chefs/.github/.github/workflows/conventional-commits.yml@5.0.3 diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml new file mode 100644 index 0000000..3fa3ae3 --- /dev/null +++ b/.github/workflows/copilot-setup-steps.yml @@ -0,0 +1,24 @@ +--- +name: 'Copilot Setup Steps' + +"on": + workflow_dispatch: + push: + paths: + - .github/workflows/copilot-setup-steps.yml + pull_request: + paths: + - .github/workflows/copilot-setup-steps.yml + +jobs: + copilot-setup-steps: + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - name: Check out code + uses: actions/checkout@v5 + - name: Install Chef + uses: actionshub/chef-install@main + - name: Install cookbooks + run: berks install diff --git a/.github/workflows/prevent-file-change.yml b/.github/workflows/prevent-file-change.yml new file mode 100644 index 0000000..0cfd639 --- /dev/null +++ b/.github/workflows/prevent-file-change.yml @@ -0,0 +1,16 @@ +--- +name: prevent-file-change + +"on": + pull_request: + types: + - opened + - reopened + - edited + - synchronize + +jobs: + prevent-file-change: + uses: sous-chefs/.github/.github/workflows/prevent-file-change.yml@5.0.3 + secrets: + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..f76a36a --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,23 @@ +--- +name: release + +"on": + push: + branches: + - main + +permissions: + contents: write + issues: write + pull-requests: write + packages: write + attestations: write + id-token: write + +jobs: + release: + uses: sous-chefs/.github/.github/workflows/release-cookbook.yml@5.0.3 + secrets: + token: ${{ secrets.PORTER_GITHUB_TOKEN }} + supermarket_user: ${{ secrets.CHEF_SUPERMARKET_USER }} + supermarket_key: ${{ secrets.CHEF_SUPERMARKET_KEY }} diff --git a/.markdownlint-cli2.yaml b/.markdownlint-cli2.yaml index 6fa8e77..ac5076b 100644 --- a/.markdownlint-cli2.yaml +++ b/.markdownlint-cli2.yaml @@ -3,3 +3,7 @@ config: line-length: false # MD013 no-duplicate-heading: false # MD024 reference-links-images: false # MD052 + no-multiple-blanks: + maximum: 2 +ignores: + - .github/copilot-instructions.md diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..fe503b7 --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "2.2.16" +} diff --git a/CHANGELOG.md b/CHANGELOG.md index bcbacc3..73e753a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,163 +2,155 @@ This file is used to list changes made in each version of vcruntime. -## Unreleased - -## 2.2.16 - *2025-09-04* - -## 2.2.15 - *2024-05-06* - -## 2.2.14 - *2024-05-06* - ## 2.2.13 - *2023-10-31* -- Update workflows +* Update workflows ## 2.2.12 - *2023-10-31* -- Standardise files with files in sous-chefs/repo-management +* Standardise files with files in sous-chefs/repo-management ## 2.2.11 - *2022-07-28* -- Update vc12 and vc14 checksums for new releases of 2013, 2015-2019 and 2015-2022 runtimes [@jhboricua](https://github.com/jhboricua) -- Removed deprecated Chef Delivery job [@jhboricua](https://github.com/jhboricua) -- Removed deprecated Windows 2016 integration jobs [@jhboricua](https://github.com/jhboricua) -- Removed stale workflow from github actions [@derekgroh](https://github.com/derekgroh) -- Updated platforms to match supported versions [@derekgroh](https://github.com/derekgroh) +* Update vc12 and vc14 checksums for new releases of 2013, 2015-2019 and 2015-2022 runtimes [@jhboricua](https://github.com/jhboricua) +* Removed deprecated Chef Delivery job [@jhboricua](https://github.com/jhboricua) +* Removed deprecated Windows 2016 integration jobs [@jhboricua](https://github.com/jhboricua) +* Removed stale workflow from github actions [@derekgroh](https://github.com/derekgroh) +* Updated platforms to match supported versions [@derekgroh](https://github.com/derekgroh) ## 2.2.10 - *2022-05-01* -- resolved cookstyle error: .delivery/project.toml:2:8 convention: `Style/StringLiterals` -- resolved cookstyle error: .delivery/project.toml:4:10 convention: `Style/StringLiterals` -- resolved cookstyle error: .delivery/project.toml:5:13 convention: `Style/StringLiterals` -- resolved cookstyle error: .delivery/project.toml:6:10 convention: `Style/StringLiterals` -- resolved cookstyle error: .delivery/project.toml:7:9 convention: `Style/StringLiterals` -- resolved cookstyle error: .delivery/project.toml:8:14 convention: `Style/StringLiterals` -- resolved cookstyle error: .delivery/project.toml:9:11 convention: `Style/StringLiterals` +* resolved cookstyle error: .delivery/project.toml:2:8 convention: `Style/StringLiterals` +* resolved cookstyle error: .delivery/project.toml:4:10 convention: `Style/StringLiterals` +* resolved cookstyle error: .delivery/project.toml:5:13 convention: `Style/StringLiterals` +* resolved cookstyle error: .delivery/project.toml:6:10 convention: `Style/StringLiterals` +* resolved cookstyle error: .delivery/project.toml:7:9 convention: `Style/StringLiterals` +* resolved cookstyle error: .delivery/project.toml:8:14 convention: `Style/StringLiterals` +* resolved cookstyle error: .delivery/project.toml:9:11 convention: `Style/StringLiterals` ## 2.2.9 - *2021-11-22* -- Remove CircleCI and Dangerfile now the release system is taking care of this for us +* Remove CircleCI and Dangerfile now the release system is taking care of this for us ## 2.2.8 - *2021-11-22* -- Update vc14 checksum for new releases of 2015-2019 and 2015-2022 runtimes [@jhboricua](https://github.com/jhboricua) +* Update vc14 checksum for new releases of 2015-2019 and 2015-2022 runtimes [@jhboricua](https://github.com/jhboricua) ## 2.2.7 - *2021-09-23* -- Update vc14 checksum for new release 14.29.30133.0 [@jhboricua](https://github.com/jhboricua) +* Update vc14 checksum for new release 14.29.30133.0 [@jhboricua](https://github.com/jhboricua) ## 2.2.6 - *2021-08-31* -- Standardise files with files in sous-chefs/repo-management +* Standardise files with files in sous-chefs/repo-management ## 2.2.5 - *2021-06-23* -- Update vc14 package_name [@derekgroh](https://github.com/derekgroh) +* Update vc14 package_name [@derekgroh](https://github.com/derekgroh) ## 2.2.4 - *2021-06-01* -- Standardise files with files in sous-chefs/repo-management +* Standardise files with files in sous-chefs/repo-management ## 2.2.3 - *2021-05-25* -- Update vc14 checksum for '14.29.30037.0' [@jhboricua](https://github.com/jhboricua) +* Update vc14 checksum for '14.29.30037.0' [@jhboricua](https://github.com/jhboricua) ## 2.2.2 - *2021-05-18* -- Update vc6,vc9,vc10 checksums [@derekgroh](https://github.com/derekgroh) +* Update vc6,vc9,vc10 checksums [@derekgroh](https://github.com/derekgroh) ## 2.2.1 - *2021-04-20* -- Update vc14 checksum for '14.28.29914.0' [@derekgroh](https://github.com/derekgroh) +* Update vc14 checksum for '14.28.29914.0' [@derekgroh](https://github.com/derekgroh) ## 2.2.0 - *2021-01-16* -- add norestart options to installers [@derekgroh](https://github.com/derekgroh) -- add returns 1638 to `vc14` [@derekgroh](https://github.com/derekgroh) +* add norestart options to installers [@derekgroh](https://github.com/derekgroh) +* add returns 1638 to `vc14` [@derekgroh](https://github.com/derekgroh) ## 2.1.0 - *2021-01-15* -- Add GitHub Actions CI/CD. [@derekGroh](https://github.com/derekgroh) -- vc14 updated to use version `14.28.29325.2` [@derekGroh](https://github.com/derekgroh) -- Sous Chefs Adoption -- Update Changelog to Sous Chefs -- Remove Appveyor and update exec kitchen config -- Update vc14 to 14.28.29325.2 -- Update to use Sous Chefs GH workflow -- MDL Fixes +* Add GitHub Actions CI/CD. [@derekGroh](https://github.com/derekgroh) +* vc14 updated to use version `14.28.29325.2` [@derekGroh](https://github.com/derekgroh) +* Sous Chefs Adoption +* Update Changelog to Sous Chefs +* Remove Appveyor and update exec kitchen config +* Update vc14 to 14.28.29325.2 +* Update to use Sous Chefs GH workflow +* MDL Fixes ## 2.0.0 (2020-08-06) -- Correct vc10 and vc12 name properties - [@derekgroh](https://github.com/derekgroh) -- Correct vc9 download links - [@derekgroh](https://github.com/derekgroh) -- consolidate vc15 recipe into vc14 to match Microsoft package version, this allows the `windows_package` resource to handle upgrades without additional logic - [@derekgroh](https://github.com/derekgroh) -- add Inspec testing - [@derekgroh](https://github.com/derekgroh) +* Correct vc10 and vc12 name properties - [@derekgroh](https://github.com/derekgroh) +* Correct vc9 download links - [@derekgroh](https://github.com/derekgroh) +* consolidate vc15 recipe into vc14 to match Microsoft package version, this allows the `windows_package` resource to handle upgrades without additional logic - [@derekgroh](https://github.com/derekgroh) +* add Inspec testing - [@derekgroh](https://github.com/derekgroh) ## 1.2.1 (2019-08-28) -- Remove recipe descriptions from metadata.rb - [@tas50](https://github.com/tas50) -- Enable all foodcritic rules on this repo - [@tas50](https://github.com/tas50) -- Remove the gating around chef_version in metadata.rb - [@tas50](https://github.com/tas50) -- Remove the empty default attributes file - [@tas50](https://github.com/tas50) -- Simplify windows platform checks - [@tas50](https://github.com/tas50) -- Remove old authors from the readme - [@tas50](https://github.com/tas50) -- Don't treat return code 3010 as a failure - [@tas50](https://github.com/tas50) -- Remove old long_description metadata - [@tas50](https://github.com/tas50) +* Remove recipe descriptions from metadata.rb - [@tas50](https://github.com/tas50) +* Enable all foodcritic rules on this repo - [@tas50](https://github.com/tas50) +* Remove the gating around chef_version in metadata.rb - [@tas50](https://github.com/tas50) +* Remove the empty default attributes file - [@tas50](https://github.com/tas50) +* Simplify windows platform checks - [@tas50](https://github.com/tas50) +* Remove old authors from the readme - [@tas50](https://github.com/tas50) +* Don't treat return code 3010 as a failure - [@tas50](https://github.com/tas50) +* Remove old long_description metadata - [@tas50](https://github.com/tas50) ## 1.2.0 (2018-07-10) -- Remove stove gem from the Gemfile -- Update VC15 to latest version -- Remove appveyor testing for VC14 since we can't test both VC14 and VC15 +* Remove stove gem from the Gemfile +* Update VC15 to latest version +* Remove appveyor testing for VC14 since we can't test both VC14 and VC15 ## 1.1.1 (2017-08-28) -- Fixed bug where download happens on every run due to same name #11 -- Fixed issue where VCRuntime 2017 is in-place upgrade of 2015 & cannot be installed together #15 +* Fixed bug where download happens on every run due to same name #11 +* Fixed issue where VCRuntime 2017 is in-place upgrade of 2015 & cannot be installed together #15 ## 1.1.0 (2017-07-31) -- Add VC15 +* Add VC15 ## 1.0.3 (2017-05-01) -- Update VC12 version information. +* Update VC12 version information. ## 1.0.2 (2017-03-08) -- Add integration testing on Appveyer and remove Travis CI. Swap the readme badges +* Add integration testing on Appveyer and remove Travis CI. Swap the readme badges ## 1.0.1 (2017-03-02) -- Update testing and documentation boilerplate -- Test with Local Delivery instead of Rake -- Add basic Chefspec testing of a converge -- Add Travis Badge to the readme +* Update testing and documentation boilerplate +* Test with Local Delivery instead of Rake +* Add basic Chefspec testing of a converge +* Add Travis Badge to the readme ## 1.0.0 -- Converted to use new package resource instead of deprecated windows_package handler. This requires Chef 12.6 or later to use this cookbook now -- Added VS 2013 Runtime -- Added VS 2015 Runtime -- Added VS 2005 Runtime -- install 32 bit by default on 64 bit systems -- Updated recipes to only run on Windows -- Fixed bug with names not matching registry causing install to run every time client ran -- Removed obsolete provides from the metadata file -- Removed forgotten Debug puts -- fixed typos and incorrect naming of VC versions -- Added Test Kitchen config +* Converted to use new package resource instead of deprecated windows_package handler. This requires Chef 12.6 or later to use this cookbook now +* Added VS 2013 Runtime +* Added VS 2015 Runtime +* Added VS 2005 Runtime +* install 32 bit by default on 64 bit systems +* Updated recipes to only run on Windows +* Fixed bug with names not matching registry causing install to run every time client ran +* Removed obsolete provides from the metadata file +* Removed forgotten Debug puts +* fixed typos and incorrect naming of VC versions +* Added Test Kitchen config ## 0.2.0 -- Refactor to allow the installation of older versions of the Visual C++ Runtime. -- Normalize top-level attribute namespace to 'vcruntime' +* Refactor to allow the installation of older versions of the Visual C++ Runtime. +* Normalize top-level attribute namespace to 'vcruntime' ## 0.1.6 -- Added VS 2012 Runtime +* Added VS 2012 Runtime ## 0.1.0 -- Initial release of vcruntime +* Initial release of vcruntime diff --git a/recipes/vc10.rb b/recipes/vc10.rb index 7c41175..3a4f3a3 100644 --- a/recipes/vc10.rb +++ b/recipes/vc10.rb @@ -27,9 +27,9 @@ installer_type :custom returns [0, 3010] remote_file_attributes({ - path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc10']['x64'][node['vcruntime']['vc10']['version']]['name']}.exe", - checksum: node['vcruntime']['vc10']['x64'][node['vcruntime']['vc10']['version']]['sha256sum'], - }) + path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc10']['x64'][node['vcruntime']['vc10']['version']]['name']}.exe", + checksum: node['vcruntime']['vc10']['x64'][node['vcruntime']['vc10']['version']]['sha256sum'], + }) options '/q /norestart' end windows_package node['vcruntime']['vc10']['x86'][node['vcruntime']['vc10']['version']]['name'] do @@ -38,9 +38,9 @@ installer_type :custom returns [0, 3010] remote_file_attributes({ - path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc10']['x86'][node['vcruntime']['vc10']['version']]['name']}.exe", - checksum: node['vcruntime']['vc10']['x86'][node['vcruntime']['vc10']['version']]['sha256sum'], - }) + path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc10']['x86'][node['vcruntime']['vc10']['version']]['name']}.exe", + checksum: node['vcruntime']['vc10']['x86'][node['vcruntime']['vc10']['version']]['sha256sum'], + }) options '/q /norestart' end when /i[3-6]86/ @@ -50,9 +50,9 @@ installer_type :custom returns [0, 3010] remote_file_attributes({ - path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc10']['x86'][node['vcruntime']['vc10']['version']]['name']}.exe", - checksum: node['vcruntime']['vc10']['x86'][node['vcruntime']['vc10']['version']]['sha256sum'], - }) + path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc10']['x86'][node['vcruntime']['vc10']['version']]['name']}.exe", + checksum: node['vcruntime']['vc10']['x86'][node['vcruntime']['vc10']['version']]['sha256sum'], + }) options '/q /norestart' end end diff --git a/recipes/vc11.rb b/recipes/vc11.rb index 585bc73..7263d10 100644 --- a/recipes/vc11.rb +++ b/recipes/vc11.rb @@ -27,9 +27,9 @@ installer_type :custom returns [0, 3010] remote_file_attributes({ - path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc11']['x64'][node['vcruntime']['vc11']['version']]['name']}.exe", - checksum: node['vcruntime']['vc11']['x64'][node['vcruntime']['vc11']['version']]['sha256sum'], - }) + path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc11']['x64'][node['vcruntime']['vc11']['version']]['name']}.exe", + checksum: node['vcruntime']['vc11']['x64'][node['vcruntime']['vc11']['version']]['sha256sum'], + }) options '/install /quiet /norestart' end windows_package node['vcruntime']['vc11']['x86'][node['vcruntime']['vc11']['version']]['name'] do @@ -38,9 +38,9 @@ installer_type :custom returns [0, 3010] remote_file_attributes({ - path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc11']['x86'][node['vcruntime']['vc11']['version']]['name']}.exe", - checksum: node['vcruntime']['vc11']['x86'][node['vcruntime']['vc11']['version']]['sha256sum'], - }) + path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc11']['x86'][node['vcruntime']['vc11']['version']]['name']}.exe", + checksum: node['vcruntime']['vc11']['x86'][node['vcruntime']['vc11']['version']]['sha256sum'], + }) options '/install /quiet /norestart' end when /i[3-6]86/ @@ -50,9 +50,9 @@ installer_type :custom returns [0, 3010] remote_file_attributes({ - path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc11']['x86'][node['vcruntime']['vc11']['version']]['name']}.exe", - checksum: node['vcruntime']['vc11']['x86'][node['vcruntime']['vc11']['version']]['sha256sum'], - }) + path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc11']['x86'][node['vcruntime']['vc11']['version']]['name']}.exe", + checksum: node['vcruntime']['vc11']['x86'][node['vcruntime']['vc11']['version']]['sha256sum'], + }) options '/install /quiet /norestart' end end diff --git a/recipes/vc12.rb b/recipes/vc12.rb index 4dea05f..3ba71b1 100644 --- a/recipes/vc12.rb +++ b/recipes/vc12.rb @@ -27,9 +27,9 @@ installer_type :custom returns [0, 3010] remote_file_attributes({ - path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc12']['x64'][node['vcruntime']['vc12']['version']]['name']}.exe", - checksum: node['vcruntime']['vc12']['x64'][node['vcruntime']['vc12']['version']]['sha256sum'], - }) + path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc12']['x64'][node['vcruntime']['vc12']['version']]['name']}.exe", + checksum: node['vcruntime']['vc12']['x64'][node['vcruntime']['vc12']['version']]['sha256sum'], + }) options '/install /quiet /norestart' end windows_package node['vcruntime']['vc12']['x86'][node['vcruntime']['vc12']['version']]['name'] do @@ -38,9 +38,9 @@ installer_type :custom returns [0, 3010] remote_file_attributes({ - path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc12']['x86'][node['vcruntime']['vc12']['version']]['name']}.exe", - checksum: node['vcruntime']['vc12']['x86'][node['vcruntime']['vc12']['version']]['sha256sum'], - }) + path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc12']['x86'][node['vcruntime']['vc12']['version']]['name']}.exe", + checksum: node['vcruntime']['vc12']['x86'][node['vcruntime']['vc12']['version']]['sha256sum'], + }) options '/install /quiet /norestart' end when /i[3-6]86/ @@ -50,9 +50,9 @@ installer_type :custom returns [0, 3010] remote_file_attributes({ - path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc12']['x86'][node['vcruntime']['vc12']['version']]['name']}.exe", - checksum: node['vcruntime']['vc12']['x86'][node['vcruntime']['vc12']['version']]['sha256sum'], - }) + path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc12']['x86'][node['vcruntime']['vc12']['version']]['name']}.exe", + checksum: node['vcruntime']['vc12']['x86'][node['vcruntime']['vc12']['version']]['sha256sum'], + }) options '/install /quiet /norestart' end end diff --git a/recipes/vc14.rb b/recipes/vc14.rb index ccc3428..96045ab 100644 --- a/recipes/vc14.rb +++ b/recipes/vc14.rb @@ -27,9 +27,9 @@ installer_type :custom returns [0, 1638, 3010] remote_file_attributes({ - path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc14']['x64'][node['vcruntime']['vc14']['version']]['name']}.exe", - checksum: node['vcruntime']['vc14']['x64'][node['vcruntime']['vc14']['version']]['sha256sum'], - }) + path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc14']['x64'][node['vcruntime']['vc14']['version']]['name']}.exe", + checksum: node['vcruntime']['vc14']['x64'][node['vcruntime']['vc14']['version']]['sha256sum'], + }) options '/install /quiet /norestart' end windows_package node['vcruntime']['vc14']['x86'][node['vcruntime']['vc14']['version']]['name'] do @@ -38,9 +38,9 @@ installer_type :custom returns [0, 1638, 3010] remote_file_attributes({ - path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc14']['x86'][node['vcruntime']['vc14']['version']]['name']}.exe", - checksum: node['vcruntime']['vc14']['x86'][node['vcruntime']['vc14']['version']]['sha256sum'], - }) + path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc14']['x86'][node['vcruntime']['vc14']['version']]['name']}.exe", + checksum: node['vcruntime']['vc14']['x86'][node['vcruntime']['vc14']['version']]['sha256sum'], + }) options '/install /quiet /norestart' end when /i[3-6]86/ @@ -50,9 +50,9 @@ installer_type :custom returns [0, 1638, 3010] remote_file_attributes({ - path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc14']['x86'][node['vcruntime']['vc14']['version']]['name']}.exe", - checksum: node['vcruntime']['vc14']['x86'][node['vcruntime']['vc14']['version']]['sha256sum'], - }) + path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc14']['x86'][node['vcruntime']['vc14']['version']]['name']}.exe", + checksum: node['vcruntime']['vc14']['x86'][node['vcruntime']['vc14']['version']]['sha256sum'], + }) options '/install /quiet /norestart' end end diff --git a/recipes/vc6.rb b/recipes/vc6.rb index 837ecbd..8f03503 100644 --- a/recipes/vc6.rb +++ b/recipes/vc6.rb @@ -27,9 +27,9 @@ installer_type :custom returns [0, 3010] remote_file_attributes({ - path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc6']['x64'][node['vcruntime']['vc6']['version']]['name']} - #{node['vcruntime']['vc6']['version']}.exe", - checksum: node['vcruntime']['vc6']['x64'][node['vcruntime']['vc6']['version']]['sha256sum'], - }) + path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc6']['x64'][node['vcruntime']['vc6']['version']]['name']} - #{node['vcruntime']['vc6']['version']}.exe", + checksum: node['vcruntime']['vc6']['x64'][node['vcruntime']['vc6']['version']]['sha256sum'], + }) options '/q' end windows_package node['vcruntime']['vc6']['x86'][node['vcruntime']['vc6']['version']]['name'] do @@ -38,9 +38,9 @@ installer_type :custom returns [0, 3010] remote_file_attributes({ - path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc6']['x86'][node['vcruntime']['vc6']['version']]['name']} - #{node['vcruntime']['vc6']['version']}.exe", - checksum: node['vcruntime']['vc6']['x86'][node['vcruntime']['vc6']['version']]['sha256sum'], - }) + path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc6']['x86'][node['vcruntime']['vc6']['version']]['name']} - #{node['vcruntime']['vc6']['version']}.exe", + checksum: node['vcruntime']['vc6']['x86'][node['vcruntime']['vc6']['version']]['sha256sum'], + }) options '/q' end when /i[3-6]86/ @@ -50,9 +50,9 @@ installer_type :custom returns [0, 3010] remote_file_attributes({ - path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc6']['x86'][node['vcruntime']['vc6']['version']]['name']} - #{node['vcruntime']['vc6']['version']}.exe", - checksum: node['vcruntime']['vc6']['x86'][node['vcruntime']['vc6']['version']]['sha256sum'], - }) + path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc6']['x86'][node['vcruntime']['vc6']['version']]['name']} - #{node['vcruntime']['vc6']['version']}.exe", + checksum: node['vcruntime']['vc6']['x86'][node['vcruntime']['vc6']['version']]['sha256sum'], + }) options '/q' end end diff --git a/recipes/vc9.rb b/recipes/vc9.rb index f298a2d..9db0569 100644 --- a/recipes/vc9.rb +++ b/recipes/vc9.rb @@ -27,9 +27,9 @@ installer_type :custom returns [0, 3010] remote_file_attributes({ - path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc9']['x64'][node['vcruntime']['vc9']['version']]['name']}.exe", - checksum: node['vcruntime']['vc9']['x64'][node['vcruntime']['vc9']['version']]['sha256sum'], - }) + path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc9']['x64'][node['vcruntime']['vc9']['version']]['name']}.exe", + checksum: node['vcruntime']['vc9']['x64'][node['vcruntime']['vc9']['version']]['sha256sum'], + }) options '/q' end windows_package node['vcruntime']['vc9']['x86'][node['vcruntime']['vc9']['version']]['name'] do @@ -38,9 +38,9 @@ installer_type :custom returns [0, 3010] remote_file_attributes({ - path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc9']['x86'][node['vcruntime']['vc9']['version']]['name']}.exe", - checksum: node['vcruntime']['vc9']['x86'][node['vcruntime']['vc9']['version']]['sha256sum'], - }) + path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc9']['x86'][node['vcruntime']['vc9']['version']]['name']}.exe", + checksum: node['vcruntime']['vc9']['x86'][node['vcruntime']['vc9']['version']]['sha256sum'], + }) options '/q' end when /i[3-6]86/ @@ -50,9 +50,9 @@ installer_type :custom returns [0, 3010] remote_file_attributes({ - path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc9']['x86'][node['vcruntime']['vc9']['version']]['name']}.exe", - checksum: node['vcruntime']['vc9']['x86'][node['vcruntime']['vc9']['version']]['sha256sum'], - }) + path: "#{Chef::Config[:file_cache_path]}\\package\\#{node['vcruntime']['vc9']['x86'][node['vcruntime']['vc9']['version']]['name']}.exe", + checksum: node['vcruntime']['vc9']['x86'][node['vcruntime']['vc9']['version']]['sha256sum'], + }) options '/q' end end diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..d38407f --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,12 @@ +{ + "packages": { + ".": { + "package-name": "vcruntime", + "changelog-path": "CHANGELOG.md", + "release-type": "ruby", + "include-component-in-tag": false, + "version-file": "metadata.rb" + } + }, + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json" +}