From 184c66e563babf7f6396c0d6236e75ed3a7bfcc1 Mon Sep 17 00:00:00 2001 From: Justin Ko Date: Fri, 5 Apr 2019 04:18:40 -0700 Subject: [PATCH] Fix installation instructions (#135) The README is referring to the deprecated git_repository() rule, which causes in Bazel 0.22. --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6d02b78..73d33ca 100644 --- a/README.md +++ b/README.md @@ -24,10 +24,13 @@ your workspace. Replace the version number in the `tag` attribute with the version you wish to depend on: ```python -git_repository( +# bazel-skylb 0.8.0 released 2019.03.20 (https://github.com/bazelbuild/bazel-skylib/releases/tag/0.8.0) +skylib_version = "0.8.0" +http_archive( name = "bazel_skylib", - remote = "https://github.com/bazelbuild/bazel-skylib.git", - tag = "0.1.0", # change this to use a different release + type = "tar.gz", + url = "https://github.com/bazelbuild/bazel-skylib/releases/download/{}/bazel-skylib.{}.tar.gz".format (skylib_version, skylib_version), + sha256 = "2ef429f5d7ce7111263289644d233707dba35e39696377ebab8b0bc701f7818e", ) ```