Skip to content

Commit c2f4d11

Browse files
authored
fix: add release please configs (#146)
* fix: add release please configs --------- Signed-off-by: Corey Hemminger <[email protected]>
1 parent bd222ce commit c2f4d11

File tree

8 files changed

+25
-11
lines changed

8 files changed

+25
-11
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
name: "Lint Unit"
2+
name: "Lint, Unit & Integration Tests"
33

44
"on":
55
pull_request:
66

77
jobs:
88
lint-unit:
9-
uses: test-kitchen/.github/.github/workflows/lint-unit.yml@v0.1.2
9+
uses: test-kitchen/.github/.github/workflows/lint-unit.yml@main

.github/workflows/publish.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,9 @@ jobs:
99
release-please:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: google-github-actions/release-please-action@v3
12+
- uses: googleapis/release-please-action@v4
1313
id: release
1414
with:
15-
release-type: ruby
16-
package-name: kitchen-hyperv
17-
version-file: lib/kitchen/driver/hyperv_version.rb
1815
token: ${{ secrets.PORTER_GITHUB_TOKEN }}
1916

2017
- name: Checkout

.markdownlint.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,4 @@
22
MD012: false
33
MD013: false
44
MD024: false
5-
MD022: false
6-
MD032: false
75
MD034: false
8-
MD036: false

.release-please-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "0.10.0"
3+
}

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
---
12
require:
23
- chefstyle
34

45
AllCops:
5-
TargetRubyVersion: 3.1
66
Include:
77
- "**/*.rb"
88
Exclude:

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
## 0.9.6 (2023-11-15)
1111

1212
## What's Changed
13+
1314
* Fix publishing step by @damacus in https://github.com/test-kitchen/kitchen-hyperv/pull/130
1415
* Add renovate config by @damacus in https://github.com/test-kitchen/kitchen-hyperv/pull/131
1516
* Revert "Add renovate config" by @damacus in https://github.com/test-kitchen/kitchen-hyperv/pull/132
@@ -21,6 +22,7 @@
2122
## 0.9.5 (2023-08-24)
2223

2324
## What's Changed
25+
2426
* fix: Will this fix the publish step finally? by @damacus in https://github.com/test-kitchen/kitchen-hyperv/pull/128
2527

2628

@@ -29,6 +31,7 @@
2931
## 0.9.4 (2023-08-24)
3032

3133
## What's Changed
34+
3235
* fix: Cleanup CI files by @damacus in https://github.com/test-kitchen/kitchen-hyperv/pull/126
3336

3437

@@ -37,6 +40,7 @@
3740
## 0.9.3 (2023-08-24)
3841

3942
## What's Changed
43+
4044
* fix: Add missing leading slash to upload by @damacus in https://github.com/test-kitchen/kitchen-hyperv/pull/124
4145

4246

@@ -45,6 +49,7 @@
4549
## 0.9.2 (2023-08-24)
4650

4751
## What's Changed
52+
4853
* Fix: Update publish containers by @damacus in https://github.com/test-kitchen/kitchen-hyperv/pull/120
4954
* fix: Tidy files by @damacus in https://github.com/test-kitchen/kitchen-hyperv/pull/121
5055
* fix: Add missing needs step by @damacus in https://github.com/test-kitchen/kitchen-hyperv/pull/123

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ group :test do
88
gem "kitchen-dokken"
99
gem "kitchen-vagrant"
1010
gem "rake"
11-
gem "minitest", "~> 5.3", "< 5.20.1"
11+
gem "minitest", "~> 5.3", "< 6.0"
1212
gem "minitest-stub-const"
1313
gem "mocha", "~> 2.0"
1414
end

release-please-config.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"packages": {
3+
".": {
4+
"package-name": "kitchen-hyperv",
5+
"changelog-path": "CHANGELOG.md",
6+
"release-type": "ruby",
7+
"include-component-in-tag": false,
8+
"version-file": "lib/kitchen/driver/hyperv_version.rb"
9+
}
10+
},
11+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
12+
}

0 commit comments

Comments
 (0)