ReleasePackagingTool changes:
[change] the release notes file is not anymore generated from a template [change] the .md files are not anymore generated from the .docx files [new] added redis-server.pdb symbols to the zip package file [fix] create the release package directory if it doesn't exist
This commit is contained in:
@@ -28,10 +28,16 @@ namespace ReleasePackagingTool
|
||||
|
||||
string version;
|
||||
version = p.GetRedisVersion();
|
||||
p.UpdateReleaseNotes(version);
|
||||
// Starting with the 2.8.21 release the Release Notes file has a new format and it doesn't need to be updated
|
||||
//p.UpdateReleaseNotes(version);
|
||||
|
||||
p.UpdateNuSpecFiles(version);
|
||||
|
||||
p.BuildReleasePackage(version);
|
||||
p.DocxToMd();
|
||||
|
||||
// Starting with the 2.8.21 release the .md documents are not anymore generated using the .docx files
|
||||
//p.DocxToMd();
|
||||
|
||||
Console.Write("Release packaging complete.");
|
||||
Environment.ExitCode = 0;
|
||||
}
|
||||
@@ -154,6 +160,12 @@ namespace ReleasePackagingTool
|
||||
|
||||
void BuildReleasePackage(string version)
|
||||
{
|
||||
string releasePackageDir = Path.Combine(rootPath, @"bin\Release\");
|
||||
if (Directory.Exists(releasePackageDir) == false)
|
||||
{
|
||||
Directory.CreateDirectory(releasePackageDir);
|
||||
}
|
||||
|
||||
string releasePackagePath = Path.Combine(rootPath, @"bin\Release\redis-" + version + ".zip");
|
||||
ForceFileErase(releasePackagePath);
|
||||
|
||||
@@ -164,7 +176,8 @@ namespace ReleasePackagingTool
|
||||
"redis-check-aof.exe",
|
||||
"redis-check-dump.exe",
|
||||
"redis-cli.exe",
|
||||
"redis-server.exe"
|
||||
"redis-server.exe",
|
||||
"redis-server.pdb"
|
||||
};
|
||||
string documentsRoot = Path.Combine(rootPath, @"msvs\setups\documentation");
|
||||
List<string> docuementNames = new List<string>()
|
||||
|
||||
@@ -4,17 +4,17 @@
|
||||
<id>redis-64</id>
|
||||
<title>redis-64</title>
|
||||
<version>CurrentRedisVersion</version>
|
||||
<authors>Jonathan Pickett</authors>
|
||||
<authors>Alexis Campailla, Enrico Giordani, Jonathan Pickett</authors>
|
||||
<owners>Microsoft Open Technologies, Inc.</owners>
|
||||
<summary>Redis is a very popular open-source, networked, in-memory, key-value data store known for high performance, flexibility, a rich set of data structures, and a simple straightforward API.</summary>
|
||||
<description>A production-ready Windows port of Redis, including 64-bit support, Chocolatey support, and much more.</description>
|
||||
<description>Redis on Windows 64-bit.</description>
|
||||
<projectUrl>https://msopentech.com/opentech-projects/redis/</projectUrl>
|
||||
<tags>Redis nosql cache</tags>
|
||||
<copyright>Copyright Microsoft Open Technologies, Inc.</copyright>
|
||||
<licenseUrl>https://github.com/MSOpenTech/redis/blob/2.8/license.txt</licenseUrl>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<iconUrl>http://redis.io/images/redis.png</iconUrl>
|
||||
<releaseNotes>Includes the changes from Redis 2.8.12 -> CurrentRedisVersion. Please see the release notes for the UNIX 2.8 branch to understand how this impacts Redis functionality.</releaseNotes>
|
||||
<releaseNotes>https://raw.githubusercontent.com/MSOpenTech/redis/2.8/Redis%20on%20Windows%20Release%20Notes.md</releaseNotes>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="..\signed_binaries\*.*" target=".\" />
|
||||
|
||||
@@ -4,17 +4,17 @@
|
||||
<id>redis-64</id>
|
||||
<title>redis-64</title>
|
||||
<version>CurrentRedisVersion</version>
|
||||
<authors>Jonathan Pickett</authors>
|
||||
<authors>Alexis Campailla, Enrico Giordani, Jonathan Pickett</authors>
|
||||
<owners>Microsoft Open Technologies, Inc.</owners>
|
||||
<summary>Redis is a very popular open-source, networked, in-memory, key-value data store known for high performance, flexibility, a rich set of data structures, and a simple straightforward API.</summary>
|
||||
<description>A production-ready Windows port of Redis, including 64-bit support, Chocolatey support, and much more.</description>
|
||||
<description>Redis on Windows 64-bit.</description>
|
||||
<projectUrl>https://msopentech.com/opentech-projects/redis/</projectUrl>
|
||||
<tags>Redis nosql cache</tags>
|
||||
<copyright>Copyright Microsoft Open Technologies, Inc.</copyright>
|
||||
<licenseUrl>https://github.com/MSOpenTech/redis/blob/2.8/license.txt</licenseUrl>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<iconUrl>http://redis.io/images/redis.png</iconUrl>
|
||||
<releaseNotes>Includes the changes from Redis 2.8.12 -> CurrentRedisVersion. Please see the release notes for the UNIX 2.8 branch to understand how this impacts Redis functionality.</releaseNotes>
|
||||
<releaseNotes>https://raw.githubusercontent.com/MSOpenTech/redis/2.8/Redis%20on%20Windows%20Release%20Notes.md</releaseNotes>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="..\signed_binaries\*.*" target=".\" />
|
||||
|
||||
Reference in New Issue
Block a user