Skip to content

Commit 5238e64

Browse files
Google APIscopybara-github
authored andcommitted
chore: template Go generator version in http_archive
PiperOrigin-RevId: 367048066
1 parent 163ed6c commit 5238e64

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

WORKSPACE

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,10 +296,12 @@ gapic_generator_register_toolchains()
296296
# Go
297297
##############################################################################
298298

299+
_gapic_generator_go_version = "0.18.6"
300+
299301
http_archive(
300302
name = "com_googleapis_gapic_generator_go",
301-
strip_prefix = "gapic-generator-go-0.18.6",
302-
urls = ["https://github.com/googleapis/gapic-generator-go/archive/v0.18.6.tar.gz"],
303+
strip_prefix = "gapic-generator-go-%s" % _gapic_generator_go_version,
304+
urls = ["https://github.com/googleapis/gapic-generator-go/archive/v%s.tar.gz" % _gapic_generator_go_version],
303305
)
304306

305307
load("@com_googleapis_gapic_generator_go//:repositories.bzl", "com_googleapis_gapic_generator_go_repositories")

0 commit comments

Comments
 (0)