Skip to content

Commit

Permalink
Use GitHub releases as a single source of changelog (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
exoego authored Mar 1, 2024
1 parent a8f2c24 commit 05d6b5f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# THIS CHANGELOG IS DEPRECATED!!

Refer https://github.com/exoego/rspec-openapi/releases instead.

## v0.12.0

- feat: Initial support of complex schema with manually-added `oneOf`
Expand Down
9 changes: 6 additions & 3 deletions rspec-openapi.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ Gem::Specification.new do |spec|
spec.license = 'MIT'
spec.required_ruby_version = Gem::Requirement.new('>= 2.5.0')

spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] = spec.homepage
spec.metadata['changelog_uri'] = File.join(spec.homepage, 'blob/master/CHANGELOG.md')
spec.metadata = {
'homepage_uri' => 'https://github.com/exoego/rspec-openapi',
'source_code_uri' => 'https://github.com/exoego/rspec-openapi',
'changelog_uri' => "https://github.com/exoego/rspec-openapi/releases/tag/v#{RSpec::OpenAPI::VERSION}",
'rubygems_mfa_required' => 'true',
}

spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
Expand Down

0 comments on commit 05d6b5f

Please sign in to comment.