pdksync_heads/master-0-g7827fc2

This commit is contained in:
Erick Banks
2019-06-10 13:35:53 +01:00
parent bcc6263e14
commit 4e36ff899c
7 changed files with 26 additions and 23 deletions

View File

@@ -14,7 +14,7 @@ end
def changelog_project
return unless Rake.application.top_level_tasks.include? "changelog"
returnVal = nil || JSON.load(File.read('metadata.json'))['name']
returnVal = nil || JSON.load(File.read('metadata.json'))['source'].match(%r{.*/([^/]*)})[1]
raise "unable to find the changelog_project in .sync.yml or the name in metadata.json" if returnVal.nil?
puts "GitHubChangelogGenerator project:#{returnVal}"
returnVal