Browse Source
add `version` to the template file name.
pull/19881/head
maliming
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/AbpIoSourceCodeStore.cs
|
|
|
@ -160,7 +160,7 @@ public class AbpIoSourceCodeStore : ISourceCodeStore, ITransientDependency |
|
|
|
|
|
|
|
var nugetVersion = version; |
|
|
|
|
|
|
|
var localCacheFile = Path.Combine(CliPaths.TemplateCache, name.Replace("/", ".") + ".zip"); |
|
|
|
var localCacheFile = Path.Combine(CliPaths.TemplateCache, name.Replace("/", ".") + "-" + version + ".zip"); |
|
|
|
|
|
|
|
#if DEBUG
|
|
|
|
if (File.Exists(localCacheFile) && templateSource.IsNullOrWhiteSpace()) |
|
|
|
|