Skip to content

Commit 7971b79

Browse files
committed
MacOS bundles, always pin to expected @flavor@ version
1 parent 6ebd08d commit 7971b79

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

support/MacOSX/McCode-conda.app/Contents/MacOS/micromamba-inject.command.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ then
1515
rm ${BASEDIR}/Contents/Resources/INJECTING
1616
exit
1717
else
18-
(cd /tmp && curl -L -O https://raw.githubusercontent.com/mccode-dev/McCode/main/@FLAVOR@-environment.yml)
18+
(cd /tmp && curl -L -O https://raw.githubusercontent.com/mccode-dev/McCode/main/@FLAVOR@-environment.yml && sed -i.bak s/@FLAVOR@/@FLAVOR@=@MCCODE_VERSION@/g @FLAVOR@-environment.yml)
1919
ret_code1=$?
2020
if [ "$ret_code1" != "0" ];
2121
then

0 commit comments

Comments
 (0)