Skip to content

Commit

Permalink
Merge pull request #3 from heroku/set-stack
Browse files Browse the repository at this point in the history
Translate new stack ID to old stack ID
  • Loading branch information
jkutner authored Mar 20, 2020
2 parents 98f0215 + 701da4f commit c74572f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/build
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ source_dir="${bp_dir}/target"
layers_dir="${1:?}"
platform_dir="${2:?}"

# translate new stack ID to old stack ID
export STACK="$CNB_STACK_ID"

# copy the buildpack source into the target dir
target_dir="$(mktemp -d)/target"
cp -R "$source_dir" "$target_dir"
Expand Down

0 comments on commit c74572f

Please sign in to comment.