Skip to content

Commit 5898d19

Browse files
Merge pull request #38 from fortissimo1997/fix-release-workflow
chore: fix release workflow trigger for RubyGems publish
2 parents 69d9d16 + df21b45 commit 5898d19

File tree

3 files changed

+14
-17
lines changed

3 files changed

+14
-17
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: Publish gem on GitHub Release
22
on:
33
release:
4-
types: [published]
54

65
jobs:
76
publish:

.release-please-config.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
{
2-
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
32
"release-type": "ruby",
3+
"include-component-in-tag": false,
44
"packages": {
55
".": {
66
"package-name": "simplecov-lcov",
77
"version-file": "lib/simplecov/lcov/version.rb",
8-
"changelog-path": "CHANGELOG.md"
8+
"changelog-path": "CHANGELOG.md",
9+
"release-type": "ruby"
910
}
10-
},
11-
"plugins": [
12-
"sentence-case"
13-
]
14-
}
11+
}
12+
}

spec/spec_helper.rb

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ def clean_filters
2929
# Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
3030

3131
RSpec.configure do |config|
32-
config.before(:each) do
33-
if Dir.exist?(SimpleCov::Formatter::LcovFormatter.config.output_directory)
34-
FileUtils
35-
.remove_dir(
36-
SimpleCov::Formatter::LcovFormatter.config.output_directory,
37-
true
38-
)
39-
end
40-
end
32+
# config.before(:each) do
33+
# if Dir.exist?(SimpleCov::Formatter::LcovFormatter.config.output_directory)
34+
# FileUtils
35+
# .remove_dir(
36+
# SimpleCov::Formatter::LcovFormatter.config.output_directory,
37+
# true
38+
# )
39+
# end
40+
# end
4141
end

0 commit comments

Comments
 (0)