mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Strip all non-numeric characters from version.
This will fix debian packaging. Updates #5510 PiperOrigin-RevId: 359563378
This commit is contained in:
committed by
gVisor bot
parent
0462dfe9f8
commit
56053f084f
@@ -41,7 +41,7 @@ config_setting(
|
||||
genrule(
|
||||
name = "version",
|
||||
outs = ["version.txt"],
|
||||
cmd = "cat bazel-out/stable-status.txt | grep STABLE_VERSION | cut -d' ' -f2- >$@",
|
||||
cmd = "cat bazel-out/stable-status.txt | grep STABLE_VERSION | cut -d' ' -f2- | sed 's/^[^[:digit:]]*//g' >$@",
|
||||
stamp = True,
|
||||
visibility = ["//:sandbox"],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user