Skip to content

Commit

Permalink
V4: ci: Fixup gen_backstage_yaml path for pr
Browse files Browse the repository at this point in the history
Allow generate job to have multi depth path.

Signed-off-by: Jorge Marques <[email protected]>
  • Loading branch information
gastmaier committed Sep 26, 2024
1 parent 4fbde40 commit 7c29f5b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/scripts/gen_backstage_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,8 @@ def generate(tag: str) -> None:
mkdir(dir_)
dir_ = path.join(dir_, tag)
if not path.isdir(dir_):
mkdir(dir_)
import pathlib
pathlib.Path(dir_).mkdir(parents=True, exist_ok=True)

project, library = makefile_pre()

Expand Down

0 comments on commit 7c29f5b

Please sign in to comment.