dbup-cli
dbup-cli copied to clipboard
Support net8
We're unable to run this in an env with net8.0. Would be helpful to have it upgraded so we don't have to install two versions of the framework.
I've opened https://github.com/drwatson1/dbup-cli/pull/35 to facilitate this.
until net8 is supported, this is what I'm running before installing dbup in my builds (on linux containers): wget https://dot.net/v1/dotnet-install.sh && bash dotnet-install.sh --version 7.0.405 --install-dir /usr/share/dotnet
While installing .NET 7 is an option, there can be another workaround: setting DOTNET_ROLL_FORWARD=Major env variable.
Without:
# dbup
You must install or update .NET to run this application.
App: /root/.dotnet/tools/dbup
Architecture: arm64
Framework: 'Microsoft.NETCore.App', version '7.0.0' (arm64)
.NET location: /usr/share/dotnet
The following frameworks were found:
8.0.2 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]
With it:
# DOTNET_ROLL_FORWARD=Major dbup --version
dbup-cli 1.8.1