Skip to content

Commit

Permalink
Merge pull request #387 from jdno/stable-hash
Browse files Browse the repository at this point in the history
Ensure package hash is stable
  • Loading branch information
jdno authored Feb 7, 2024
2 parents ee3b401 + 0858d1d commit aff57e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ script_path=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
project_path=$(cd "${script_path}" && cd ".." && pwd)
project_name="${project_path##*/}"

cd "${project_path}" && fastly compute build &>/dev/null
cd "${project_path}" && fastly compute build --metadata-disable &>/dev/null

# Return a valid JSON object that Terraform can consume
echo "{\"path\": \"./${project_name}/pkg/compute-static.tar.gz\"}"

0 comments on commit aff57e6

Please sign in to comment.