Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Zt-freak committed Sep 28, 2021
1 parent 8835959 commit 04385e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Castor/Services/ZippingService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ public void Zip(ZipArchive archive, ICastorConfig config, DirectoryInfo director
Console.WriteLine($"compressing {formattedPath}\\{file.Name}");
if (config.Type == "module" || config.Type == "package")
{
archive.CreateEntryFromFile(file.FullName, $"modules\\{config.RepoName}\\{formattedPath}\\{file.Name}");
archive.CreateEntryFromFile(file.FullName, $"modules\\{config.RepoName}\\{config.Version.Replace('.', '-')}\\{formattedPath}\\{file.Name}");
}
archive.CreateEntryFromFile(file.FullName, $"{formattedPath}\\{file.Name}");
archive.CreateEntryFromFile(file.FullName, $"{formattedPath}\\{file.Name}");
}
var directories = directoryInfo.GetDirectories();
bool exclude;
Expand Down

0 comments on commit 04385e7

Please sign in to comment.