chore: fix link_checker require path (#844)

* fix link_checker require path

* add v to version
This commit is contained in:
Graham Paye 2019-11-06 18:46:59 -08:00 committed by GitHub
parent 0e3ffb6a68
commit 8ecce755b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ namespace :kokoro do
end end
task :post do task :post do
require_relative "rakelib/link_checker.rb" require_relative "rakelib/devsite/link_checker.rb"
link_checker = LinkChecker.new link_checker = LinkChecker.new
link_checker.run link_checker.run

View File

@ -70,7 +70,7 @@ class DevsiteBuilder
@metadata ||= RepoMetadata.from_source "name" => "google-api-client", @metadata ||= RepoMetadata.from_source "name" => "google-api-client",
"distribution-name" => "google-api-client", "distribution-name" => "google-api-client",
"language" => "ruby" "language" => "ruby"
@metadata["version"] = version @build_tag @metadata["version"] = "v#{version @build_tag}"
@metadata @metadata
end end