Skip to content

Commit 358b380

Browse files
author
chris.agocs
committed
delete the old layer zip after publishing
1 parent 639633b commit 358b380

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/publish_test_layer.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Copyright 2021 Datadog, Inc.
77

88
# Publish the datadog python lambda layer across regions, using the AWS CLI
9-
# Usage: publish_layer.sh [region] [layer]
9+
# Usage: publish_test_layer.sh path/to/layer.jar [region]
1010
# Specifying the region and layer arg will publish the specified layer to the specified region
1111
set -e
1212

@@ -84,5 +84,6 @@ publish_layer() {
8484
echo "Starting publishing layer for region $REGION..."
8585

8686
publish_layer $REGION "$aws_version_key"
87+
rm $LAYER_ZIP
8788

8889
echo "Done !"

0 commit comments

Comments
 (0)