Skip to content

Commit d8f2cf8

Browse files
committed
chore(stacks): restricted upload directory
1 parent fb5e790 commit d8f2cf8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/upload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def upload(filename, filepath):
2020

2121

2222
def upload_list(stack_name, dist_dir):
23-
for root, _, files in os.walk(dist_dir):
23+
for root, _, files in os.walk(os.path.join(dist_dir, stack_name)):
2424
for _filename in files:
2525
if _filename.startswith(stack_name) and _filename.endswith(".tar.gz"):
2626
filename = os.path.join("stacks", stack_name, _filename)

0 commit comments

Comments
 (0)