Skip to content

Commit

Permalink
fix: add release please configs (#146)
Browse files Browse the repository at this point in the history
* fix: add release please configs

---------

Signed-off-by: Corey Hemminger <[email protected]>
  • Loading branch information
Stromweld authored Jun 21, 2024
1 parent bd222ce commit c2f4d11
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
name: "Lint Unit"
name: "Lint, Unit & Integration Tests"

"on":
pull_request:

jobs:
lint-unit:
uses: test-kitchen/.github/.github/workflows/lint-unit.yml@v0.1.2
uses: test-kitchen/.github/.github/workflows/lint-unit.yml@main
5 changes: 1 addition & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,9 @@ jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
- uses: googleapis/release-please-action@v4
id: release
with:
release-type: ruby
package-name: kitchen-hyperv
version-file: lib/kitchen/driver/hyperv_version.rb
token: ${{ secrets.PORTER_GITHUB_TOKEN }}

- name: Checkout
Expand Down
3 changes: 0 additions & 3 deletions .markdownlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,4 @@
MD012: false
MD013: false
MD024: false
MD022: false
MD032: false
MD034: false
MD036: false
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "0.10.0"
}
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
require:
- chefstyle

AllCops:
TargetRubyVersion: 3.1
Include:
- "**/*.rb"
Exclude:
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
## 0.9.6 (2023-11-15)

## What's Changed

* Fix publishing step by @damacus in https://github.com/test-kitchen/kitchen-hyperv/pull/130
* Add renovate config by @damacus in https://github.com/test-kitchen/kitchen-hyperv/pull/131
* Revert "Add renovate config" by @damacus in https://github.com/test-kitchen/kitchen-hyperv/pull/132
Expand All @@ -21,6 +22,7 @@
## 0.9.5 (2023-08-24)

## What's Changed

* fix: Will this fix the publish step finally? by @damacus in https://github.com/test-kitchen/kitchen-hyperv/pull/128


Expand All @@ -29,6 +31,7 @@
## 0.9.4 (2023-08-24)

## What's Changed

* fix: Cleanup CI files by @damacus in https://github.com/test-kitchen/kitchen-hyperv/pull/126


Expand All @@ -37,6 +40,7 @@
## 0.9.3 (2023-08-24)

## What's Changed

* fix: Add missing leading slash to upload by @damacus in https://github.com/test-kitchen/kitchen-hyperv/pull/124


Expand All @@ -45,6 +49,7 @@
## 0.9.2 (2023-08-24)

## What's Changed

* Fix: Update publish containers by @damacus in https://github.com/test-kitchen/kitchen-hyperv/pull/120
* fix: Tidy files by @damacus in https://github.com/test-kitchen/kitchen-hyperv/pull/121
* fix: Add missing needs step by @damacus in https://github.com/test-kitchen/kitchen-hyperv/pull/123
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ group :test do
gem "kitchen-dokken"
gem "kitchen-vagrant"
gem "rake"
gem "minitest", "~> 5.3", "< 5.20.1"
gem "minitest", "~> 5.3", "< 6.0"
gem "minitest-stub-const"
gem "mocha", "~> 2.0"
end
Expand Down
12 changes: 12 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"packages": {
".": {
"package-name": "kitchen-hyperv",
"changelog-path": "CHANGELOG.md",
"release-type": "ruby",
"include-component-in-tag": false,
"version-file": "lib/kitchen/driver/hyperv_version.rb"
}
},
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
}

0 comments on commit c2f4d11

Please sign in to comment.