Skip to content

Commit ee3ecbd

Browse files
[build] Bump rules_pkg to 0.5.1
1 parent a501e6a commit ee3ecbd

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

WORKSPACE

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,12 +160,14 @@ rules_closure_toolchains()
160160

161161
http_archive(
162162
name = "rules_pkg",
163-
sha256 = "038f1caa773a7e35b3663865ffb003169c6a71dc995e39bf4815792f385d837d",
164163
urls = [
165-
"https://github.com/bazelbuild/rules_pkg/releases/download/0.4.0/rules_pkg-0.4.0.tar.gz",
166-
"https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.4.0/rules_pkg-0.4.0.tar.gz",
164+
"https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.5.1/rules_pkg-0.5.1.tar.gz",
165+
"https://github.com/bazelbuild/rules_pkg/releases/download/0.5.1/rules_pkg-0.5.1.tar.gz",
167166
],
167+
sha256 = "a89e203d3cf264e564fcb96b6e06dd70bc0557356eb48400ce4b5d97c2c3720d",
168168
)
169+
load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
170+
rules_pkg_dependencies()
169171

170172
http_archive(
171173
name = "io_bazel_rules_docker",

py/BUILD.bazel

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
load("@rules_pkg//:pkg.bzl", "pkg_tar")
12
load("@rules_python//python:defs.bzl", "py_binary", "py_library")
23
load("@rules_python//python:packaging.bzl", "py_package", "py_wheel")
34
load("@dev_requirements//:requirements.bzl", "requirement")
@@ -104,6 +105,10 @@ py_package(
104105
deps = [":selenium"],
105106
)
106107

108+
pkg_tar(
109+
110+
)
111+
107112
py_wheel(
108113
name = "selenium-wheel",
109114
classifiers = [

0 commit comments

Comments
 (0)