We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a7543d2 + 22e1eb2 commit 329e370Copy full SHA for 329e370
1 file changed
lib/solidus_dev_support/rake_tasks.rb
@@ -83,6 +83,16 @@ def install_changelog_task
83
config.user = repo.owner
84
config.project = repo.name
85
config.future_release = "v#{ENV['UNRELEASED_VERSION'] || gemspec.version}"
86
+
87
+ rescue Octokit::InvalidRepository
88
+ warn <<~WARN
89
+ It won't be possible to automatically generate the CHANGELOG for this extension because the
90
+ gemspec is missing the `source_code_uri` metadata. Please add this line to the gemspec to
91
+ enable automatic CHANGELOG generation:
92
93
+ s.metadata["source_code_uri"] = 'https://github.com/org/repo'
94
95
+ WARN
96
end
97
98
0 commit comments