aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorbcorso <bcorso@google.com>2020-06-18 17:32:20 -0700
committerNick <565601+nick-someone@users.noreply.github.com>2020-06-22 10:03:24 -0400
commitd7fc5eedc597d5e7890ac4acb65dc59355843c6d (patch)
treee55183ccb4a2b65aa086dcaa5568faaa9ef06372 /README.md
parentbc6f9a9f8b30389e3283f4509001999aa1510e3a (diff)
downloaddagger2-d7fc5eedc597d5e7890ac4acb65dc59355843c6d.tar.gz
Update Dagger README to fix bazel instructions.
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=317215889
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index 8ee14695a..40c8ced23 100644
--- a/README.md
+++ b/README.md
@@ -37,9 +37,15 @@ release.
```python
# Top-level WORKSPACE file
+load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
+
+DAGGER_TAG = "2.28.1"
+DAGGER_SHA = "f04b1466a00a2845106801e0c5cec96841f49ea4e7d1df88dc8e4bf31523df74"
http_archive(
name = "dagger",
- urls = ["https://github.com/google/dagger/archive/dagger-<version>.zip"],
+ strip_prefix = "dagger-dagger-%s" % DAGGER_TAG,
+ sha256 = DAGGER_SHA,
+ urls = ["https://github.com/google/dagger/archive/dagger-%s.zip" % DAGGER_TAG],
)
```