Browse Source

Merge pull request #18914 from abpframework/auto-merge/prerel-8-1/2459

Merge branch dev with prerel-8.1
pull/18933/head
maliming 2 years ago
committed by GitHub
parent
commit
29e78266ae
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/AbpIoSourceCodeStore.cs

3
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/AbpIoSourceCodeStore.cs

@ -140,9 +140,8 @@ public class AbpIoSourceCodeStore : ISourceCodeStore, ITransientDependency
? $"> dotnet tool install -g volo.abp.cli --version \"{templateVersion.Major}.{templateVersion.Minor}.*\""
: $"> dotnet tool install -g volo.abp.cli --version {templateVersion}");
if (!userSpecifiedVersion)
if (userSpecifiedVersion)
{
version = currentCliVersion.ToString();
Logger.LogWarning($"We have changed the template version as the cli version.");
Logger.LogWarning($"New version: {version}");
}

Loading…
Cancel
Save