Skip to content

Commit ec7084c

Browse files
committed
CCM-11751: Package and publish modules to Github on release cut
1 parent 0431df3 commit ec7084c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release_created.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ jobs:
3333
ls -al
3434
module_name=${module%/}
3535
echo "Zipping contents of $module_name..."
36-
(cd "$module_name" && zip -r "../../../artifacts/terraform-${module_name}.zip" .)
36+
(cd "$module_name" && zip -r "$ARTIFACTS_DIR/terraform-${module_name}.zip" .)
3737
echo "Publishing $module_name module..."
38-
gh release upload v2.0.20 "../../artifacts/terraform-${module_name}.zip" --clobber
38+
gh release upload v2.0.20 "$ARTIFACTS_DIR/terraform-${module_name}.zip" --clobber
3939
done
4040
env:
4141
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)