diff --git a/Rakefile b/Rakefile index fb9588500..1af25898d 100644 --- a/Rakefile +++ b/Rakefile @@ -71,7 +71,7 @@ namespace :kokoro do end task :post do - require_relative "rakelib/link_checker.rb" + require_relative "rakelib/devsite/link_checker.rb" link_checker = LinkChecker.new link_checker.run diff --git a/rakelib/devsite/devsite_builder.rb b/rakelib/devsite/devsite_builder.rb index c174166f6..61c23a4b2 100644 --- a/rakelib/devsite/devsite_builder.rb +++ b/rakelib/devsite/devsite_builder.rb @@ -70,7 +70,7 @@ class DevsiteBuilder @metadata ||= RepoMetadata.from_source "name" => "google-api-client", "distribution-name" => "google-api-client", "language" => "ruby" - @metadata["version"] = version @build_tag + @metadata["version"] = "v#{version @build_tag}" @metadata end