You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix Java feature: fallback to LTS when latest version not found in distributions
Reworked the fallback mechanism so it triggers AFTER the version is
confirmed unavailable in ms/tem distributions, not preemptively.
The fallback_to_lts_if_needed() function is called when the version
list is empty and "latest" was requested. Also bumps feature version
to 1.7.3.
Agent-Logs-Url: https://github.com/devcontainers/features/sessions/1659dca5-85f8-42a5-9ef0-70e48adfd2de
Co-authored-by: Kaniska244 <[email protected]>
if [ "${feature_release_version}"-gt"${most_recent_lts}" ];then
213
-
echo"Latest feature release (${feature_release_version}) is newer than most recent LTS (${most_recent_lts}). Falling back to LTS version ${most_recent_lts}.">&2
209
+
if [ "${current_major}"-gt"${most_recent_lts}" ];then
210
+
echo"Latest feature release (${current_major}) not available in any distribution. Falling back to LTS version ${most_recent_lts}.">&2
0 commit comments