From 5d08abf14e7cef3cc6bf987474bed3c7b39fa5f0 Mon Sep 17 00:00:00 2001 From: Jamison Lahman Date: Thu, 18 Nov 2021 22:50:46 -0800 Subject: [PATCH] make default version v1.5.0 --- README.md | 2 +- WORKSPACE | 3 +-- deps.bzl | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 755c3a0..0fb510c 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ git_repository( load("@bazel_bats//:deps.bzl", "bazel_bats_dependencies") # version can be omitted, in which case the default is used. -bazel_bats_dependencies(version="v1.1.0") +bazel_bats_dependencies(version="v1.5.0") ``` In your `BUILD.bazel` file add the following: diff --git a/WORKSPACE b/WORKSPACE index 79166aa..c5913bd 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -4,5 +4,4 @@ workspace(name = "bazel_bats") load("@bazel_bats//:deps.bzl", "bazel_bats_dependencies") -bazel_bats_dependencies(version="v1.1.0") - +bazel_bats_dependencies(version="v1.5.0") diff --git a/deps.bzl b/deps.bzl index 94a2259..c66afa6 100644 --- a/deps.bzl +++ b/deps.bzl @@ -1,4 +1,4 @@ -# From: +# From: # https://stackoverflow.com/questions/47192668/idiomatic-retrieval-of-the-bazel-execution-path# load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository", "new_git_repository") @@ -16,7 +16,7 @@ sh_binary( ) """ -def bazel_bats_dependencies(version="v1.1.0"): +def bazel_bats_dependencies(version="v1.5.0"): new_git_repository( name = "bats_core", remote = "https://github.com/bats-core/bats-core",