Commit 8ce845e
committed
Check the dyno's STACK to download the correct version on stack change
As edmorley points out, there can be ABI changes between different
stacks which could cause issues. It is, after all, the reason that we
have a download specific to each stack.
This change adds a .stack file in the cached directory which we use to
track which version of the compiled binary was originally downloaded.
When that file is missing (i.e. for anyone already using the buildpack)
then we will force a download on the next deploy.
Fixes gaffneyc#191 parent 1e33801 commit 8ce845e
1 file changed
+22
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
24 | 41 | | |
25 | 42 | | |
26 | 43 | | |
| |||
40 | 57 | | |
41 | 58 | | |
42 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
43 | 64 | | |
44 | 65 | | |
45 | 66 | | |
46 | 67 | | |
47 | 68 | | |
48 | 69 | | |
49 | | - | |
| 70 | + | |
50 | 71 | | |
51 | 72 | | |
52 | 73 | | |
| |||
0 commit comments