File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed
Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change 55set -o pipefail
66
77function main() {
8- if [[ " ${CF_STACK:- } " != " cflinuxfs3 " && " ${CF_STACK :- } " != " cflinuxfs4" && " ${CF_STACK:- } " != " cflinuxfs5" ]]; then
8+ if [[ " ${CF_STACK:- } " != " cflinuxfs4" && " ${CF_STACK:- } " != " cflinuxfs5" ]]; then
99 echo " **ERROR** Unsupported stack"
1010 echo " See https://docs.cloudfoundry.org/devguide/deploy-apps/stacks.html for more info"
1111 exit 1
1212 fi
1313
1414 local version expected_sha dir
15- version=" 1.25.6"
16- expected_sha=" 0ed64e3b9cb9b1c2ec57880dae2427b0ee2676f2ae2fb53c2e1bb838c500f9fb"
15+
16+ # Set Go version and SHA per stack
17+ case " ${CF_STACK} " in
18+ cflinuxfs4)
19+ version=" 1.25.7"
20+ expected_sha=" 12a6e116cffdcd071988cf3c30216a3f08f54d2cfbb45fff67e375823fd0c3b9"
21+ ;;
22+ cflinuxfs5)
23+ version=" 1.25.7"
24+ expected_sha=" d48a3dff9477586e625aea33381ddb94d53bcc35ca1f97d471f12477e359d925"
25+ ;;
26+ esac
27+
1728 dir=" /tmp/go${version} "
1829
1930 mkdir -p " ${dir} "
You can’t perform that action at this time.
0 commit comments