diff --git a/ChangeLog b/ChangeLog index 14adc4f910..66e3e25087 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +Version 13.5.2 +-------------- + + * Cached test results have an equivalent property set. + * Fixed pre_build argument not always being honoured on `genrule`. + * `plz init config` now does not need to be run within a repo (as `plz init` does not). + + Version 13.5.1 -------------- diff --git a/VERSION b/VERSION index 9db8468156..97b2f7e806 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -13.5.1 +13.5.2 diff --git a/src/parse/rules/misc_rules.build_defs b/src/parse/rules/misc_rules.build_defs index c4eb26f1fe..531b412d09 100644 --- a/src/parse/rules/misc_rules.build_defs +++ b/src/parse/rules/misc_rules.build_defs @@ -103,6 +103,7 @@ def genrule(name:str, cmd:str|list|dict, srcs:list|dict=None, out:str=None, outs output_is_complete = output_is_complete, building_description = building_description, hashes = hashes, + pre_build = pre_build, post_build = post_build, binary = binary, sandbox = sandbox, diff --git a/src/please.go b/src/please.go index d40dbf4567..cd7fb5d991 100644 --- a/src/please.go +++ b/src/please.go @@ -927,7 +927,7 @@ func initBuild(args []string) string { opts.Query.Completions.Cmd = command opts.Query.Completions.Args.Fragments = []string{opts.Complete} command = "completions" - } else if command == "help" || command == "follow" || command == "init" { + } else if command == "help" || command == "follow" || command == "init" || command == "config" { // These commands don't use a config file, allowing them to be run outside a repo. if flagsErr != nil { // This error otherwise doesn't get checked until later. cli.ParseFlagsFromArgsOrDie("Please", &opts, os.Args)