Fix net7 -> net8 typo in publish_data_stream_web_app.py

The DataStream Web App is on net8
This commit is contained in:
John Colvin committed 2024-07-01 23:36:04 -04:00
1 parent 8fff414c4c
commit 6cc0ad4f66
1 file changed
+5 -4
+5 -4
View File
@@ -68,7 +68,7 @@ class PublishArgs:
verbosity: int = 1,
dry_run: bool = False,
output: Optional[str] = None,
framework='net7.0',
framework='net8.0',
runtime=_dotnet_runtime(),
):
self.configuration = configuration
@@ -147,13 +147,14 @@ def publish(args: PublishArgs):
subprocess.run(cmd, shell=True).check_returncode()
def dotnet_cmd(action='build'):
sln = SparkPaths.root().joinpath(
csproj = SparkPaths.root().joinpath(
'src',
'DataStreamSuite',
'DataStreamSuite.sln'
'Bts.DataStreamWebApp.Server',
'Bts.DataStreamWebApp.Server.csproj',
)
return ' '.join([
f'dotnet {action} {sln}',
f'dotnet {action} {csproj}',
f'--configuration {args.configuration.title()}',
f'--verbosity {_dotnet_verbosity(args.verbosity)}',
])