Template: Update dotnet project template to remove previous LTS checks (#20573)

* Remove now unnecessary LTS checks from project dotnet template

* Update the starter kit versions
This commit is contained in:
Laura Neto
2025-10-21 13:12:25 +02:00
committed by GitHub
parent 1099332edb
commit 20eedda4c7
3 changed files with 2 additions and 8 deletions

View File

@@ -25,9 +25,6 @@ app.UseUmbraco()
}) })
.WithEndpoints(u => .WithEndpoints(u =>
{ {
/*#if (UmbracoRelease = 'LTS')
u.UseInstallerEndpoints();
#endif */
u.UseBackOfficeEndpoints(); u.UseBackOfficeEndpoints();
u.UseWebsiteEndpoints(); u.UseWebsiteEndpoints();
}); });

View File

@@ -34,11 +34,11 @@
"cases": [ "cases": [
{ {
"condition": "(StarterKit == 'Umbraco.TheStarterKit' && (UmbracoRelease == 'Latest' || UmbracoRelease == 'Custom'))", "condition": "(StarterKit == 'Umbraco.TheStarterKit' && (UmbracoRelease == 'Latest' || UmbracoRelease == 'Custom'))",
"value": "16.0.0" "value": "17.0.0-rc"
}, },
{ {
"condition": "(StarterKit == 'Umbraco.TheStarterKit' && UmbracoRelease == 'LTS')", "condition": "(StarterKit == 'Umbraco.TheStarterKit' && UmbracoRelease == 'LTS')",
"value": "13.0.0" "value": "17.0.0"
} }
] ]
} }

View File

@@ -26,8 +26,5 @@ USER root
RUN mkdir umbraco RUN mkdir umbraco
RUN mkdir umbraco/Logs RUN mkdir umbraco/Logs
RUN chown $APP_UID umbraco --recursive RUN chown $APP_UID umbraco --recursive
#if (UmbracoRelease = 'LTS')
RUN chown $APP_UID wwwroot/umbraco --recursive
#endif
USER $APP_UID USER $APP_UID
ENTRYPOINT ["dotnet", "UmbracoProject.dll"] ENTRYPOINT ["dotnet", "UmbracoProject.dll"]