Skip to content

Commit c4cb146

Browse files
authored
Merge pull request #3087 from planetarium/fix-snapshot-reset
fix s3 path
2 parents 9555d55 + 874bc00 commit c4cb146

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/scripts/reset-snapshot.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ reset_snapshot() {
9494
snapshot_url=$(get_snapshot_file_url "$snapshot_zip_filename")
9595
if [ -n "$snapshot_url" ]; then
9696
snapshot_filename=$(basename "$snapshot_url")
97-
aws s3 cp "$snapshot_url" "$1/$snapshot_filename" --copy-props none --metadata-directive COPY
97+
aws s3 cp "$2/$snapshot_filename" "$1/$snapshot_filename" --copy-props none --metadata-directive COPY
9898
snapshot_zip_filename_array+=("$snapshot_filename")
9999
fi
100100

0 commit comments

Comments
 (0)