Skip to content

Commit

Permalink
Update core/scripts/fetch_external_artifacts.sh
Browse files Browse the repository at this point in the history
Co-authored-by: Rafał Czajkowski <[email protected]>
  • Loading branch information
nkuba and r-czajkowski authored Dec 7, 2023
1 parent 805f28c commit d4d656c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/scripts/fetch_external_artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ fetch_external_artifact() {
--pack-destination=${TMP_DIR} \
${package} |
# Extract deployment artifact to the destination directory.
xargs -I{} tar -zxf ${TMP_DIR}/{} -C ${destination_dir} --strip-components 2 package/artifacts/${contractName}.json
xargs -I{} tar -zxf ${TMP_DIR}/{} -C ${destination_dir} \
--strip-components 2 package/artifacts/${contractName}.json

printf "Succesfully fetched ${contractName} contract artifact from ${package} to ${destination_dir}\n"
}
Expand Down

0 comments on commit d4d656c

Please sign in to comment.