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:
@@ -25,9 +25,6 @@ app.UseUmbraco()
|
|||||||
})
|
})
|
||||||
.WithEndpoints(u =>
|
.WithEndpoints(u =>
|
||||||
{
|
{
|
||||||
/*#if (UmbracoRelease = 'LTS')
|
|
||||||
u.UseInstallerEndpoints();
|
|
||||||
#endif */
|
|
||||||
u.UseBackOfficeEndpoints();
|
u.UseBackOfficeEndpoints();
|
||||||
u.UseWebsiteEndpoints();
|
u.UseWebsiteEndpoints();
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -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"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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"]
|
||||||
|
|||||||
Reference in New Issue
Block a user