From 3ff15fe56426c3d287dbe77b1e7d28947537708c Mon Sep 17 00:00:00 2001 From: Gregory Haddow <93638800+ankorstore-haddowg@users.noreply.github.com> Date: Thu, 11 May 2023 14:30:34 +0100 Subject: [PATCH] fix: ensure tarballs are unique on parallel jobs (#38) --- src/commands/store_compressed_artifacts.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/store_compressed_artifacts.yml b/src/commands/store_compressed_artifacts.yml index 1ff9501..15361f4 100644 --- a/src/commands/store_compressed_artifacts.yml +++ b/src/commands/store_compressed_artifacts.yml @@ -12,7 +12,7 @@ parameters: steps: - run: name: Compressing << parameters.tarball-name >> - command: tar -czf << parameters.tarball-name >>.tar.gz << parameters.path >> + command: tar -czf "<< parameters.tarball-name >>-$CIRCLE_NODE_INDEX.tar.gz" << parameters.path >> - store_artifacts: name: Store << parameters.tarball-name >> path: << parameters.tarball-name >>.tar.gz