Skip to content

Commit f0b78f3

Browse files
committed
Fix version check
1 parent 7cd0727 commit f0b78f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ RUN \
2121

2222
RUN \
2323
if [ "$URL" != "" ] ; then export URL_FINAL="--additional-urls ${URL}" ; else export URL_FINAL="" ; fi \
24-
&& if [ "$VERSION" != "" ] ; then export CORE_FINAL="${CORE}@${VERSION}" ; else export CORE_FINAL="${CORE}" ; fi \
24+
&& if [ "$VERSION" != "latest" ] ; then export CORE_FINAL="${CORE}@${VERSION}" ; else export CORE_FINAL="${CORE}" ; fi \
2525
&& arduino-cli core update-index ${URL_FINAL} \
2626
&& arduino-cli core install ${CORE_FINAL} ${URL_FINAL}

0 commit comments

Comments
 (0)