Skip to content

Commit 29c7b6e

Browse files
committed
Update links in gemspec
1 parent 610f216 commit 29c7b6e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

create_github_release.gemspec

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,17 @@ Gem::Specification.new do |spec|
1313
A script that manages your gem version and creates a GitHub branch, PR, and
1414
release for a new gem version.
1515
DESCRIPTION
16-
spec.homepage = 'https://github.com/main-branch/create_github_release'
1716
spec.license = 'MIT'
1817
spec.required_ruby_version = '>= 3.1.0'
1918

2019
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
2120

21+
# Project links
22+
spec.homepage = "https://github.com/main-branch/#{spec.name}"
2223
spec.metadata['homepage_uri'] = spec.homepage
2324
spec.metadata['source_code_uri'] = spec.homepage
24-
spec.metadata['changelog_uri'] = "https://rubydoc.info/gems/#{spec.name}/#{spec.version}/file/CHANGELOG.md"
2525
spec.metadata['documentation_uri'] = "https://rubydoc.info/gems/#{spec.name}/#{spec.version}"
26+
spec.metadata['changelog_uri'] = "https://rubydoc.info/gems/#{spec.name}/#{spec.version}/file/CHANGELOG.md"
2627

2728
# Specify which files should be added to the gem when it is released.
2829
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.

0 commit comments

Comments
 (0)