Skip to content

Commit 6231a22

Browse files
committed
refactor(templating): pass the targeted Python version to the templating engine
1 parent 69d0d40 commit 6231a22

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apply-templates.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ for version; do
3636
# reset all the generated Dockerfile
3737
rm -rf "$version/"
3838

39+
eval $(jq -r '@sh "export python_version=\(.[env.version].python_version)"' versions.json)
40+
3941
variants="$(jq -r '.[env.version].variants | map(@sh) | join(" ")' versions.json)"
4042
eval "variants=( $variants )"
4143

0 commit comments

Comments
 (0)