Skip to content

Commit

Permalink
Update version in build
Browse files Browse the repository at this point in the history
  • Loading branch information
bdukes committed Apr 17, 2024
1 parent bf7edd9 commit 341bbb6
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions build/Tasks/Package.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ private static void SetManifestVersions(Context context, FilePath manifest, stri
context.XmlPoke(manifest, "//package/@version", version);
context.XmlPoke(manifest, "//assembly[name/text()=\"Engage.Dnn.SqlServerTypes.dll\"]/version", version);
context.XmlPoke(manifest, "//assembly[name/text()=\"Microsoft.SqlServer.Types.dll\"]/version", version);
context.XmlPoke(manifest, "//assembly[name/text()=\"SqlServerSpatial140.dll\"]/version", version);
context.XmlPoke(manifest, "//assembly[name/text()=\"SqlServerSpatial160.dll\"]/version", version);
}

private static void CleanAndBuild(Context context, FilePath sln)
Expand All @@ -86,22 +86,22 @@ private static void SetAssemblyInfoVersion(Context context, string version)
context.CreateAssemblyInfo(
assemblyInfoPath,
new AssemblyInfoSettings
{
Version = version,
FileVersion = version,
InformationalVersion = version,
Company = assemblyInfo.Company,
Configuration = assemblyInfo.Configuration,
CLSCompliant = assemblyInfo.ClsCompliant,
Copyright = assemblyInfo.Copyright,
Description = assemblyInfo.Description,
Guid = string.IsNullOrWhiteSpace(assemblyInfo.Guid) ? null : assemblyInfo.Guid,
Product = assemblyInfo.Product,
Title = assemblyInfo.Title,
Trademark = assemblyInfo.Trademark,
ComVisible = assemblyInfo.ComVisible,
InternalsVisibleTo = assemblyInfo.InternalsVisibleTo,
});
{
Version = version,
FileVersion = version,
InformationalVersion = version,
Company = assemblyInfo.Company,
Configuration = assemblyInfo.Configuration,
CLSCompliant = assemblyInfo.ClsCompliant,
Copyright = assemblyInfo.Copyright,
Description = assemblyInfo.Description,
Guid = string.IsNullOrWhiteSpace(assemblyInfo.Guid) ? null : assemblyInfo.Guid,
Product = assemblyInfo.Product,
Title = assemblyInfo.Title,
Trademark = assemblyInfo.Trademark,
ComVisible = assemblyInfo.ComVisible,
InternalsVisibleTo = assemblyInfo.InternalsVisibleTo,
});
}
}
}

0 comments on commit 341bbb6

Please sign in to comment.