bat files for release process

This commit is contained in:
Christian Wade 2023-10-03 17:56:06 -07:00
parent 4e9bf5a60a
commit b3050d39b8
5 changed files with 28 additions and 15 deletions

2
.gitignore vendored
View File

@ -245,3 +245,5 @@ ModelManifest.xml
# FAKE - F# Make
.fake/
/AlmToolkit/AlmToolkitSetup/Setup
/AlmToolkit/AlmToolkit/ReleaseItems/ForSigning
/AlmToolkit/AlmToolkit/ReleaseItems/SignedFiles

View File

@ -0,0 +1,4 @@
@echo off
copy /y ReleaseItems\SignedFiles\AlmToolkit.exe obj\Release\AlmToolkit.exe
copy /y ReleaseItems\SignedFiles\BismNormalizer.dll ..\BismNormalizer\obj\Release\BismNormalizer.dll
copy /y ReleaseItems\SignedFiles\BismNormalizer.CommandLine.exe ..\BismNormalizer.CommandLine\obj\Release\BismNormalizer.CommandLine.exe

View File

@ -0,0 +1,4 @@
@echo off
copy /y bin\Release\AlmToolkit.exe ReleaseItems\ForSigning\AlmToolkit.exe
copy /y ..\BismNormalizer\bin\Release\BismNormalizer.dll ReleaseItems\ForSigning\BismNormalizer.dll
copy /y ..\BismNormalizer.CommandLine\bin\Release\BismNormalizer.CommandLine.exe ReleaseItems\ForSigning\BismNormalizer.CommandLine.exe

View File

@ -0,0 +1,2 @@
@echo off
copy /y ..\AlmToolkitSetup\Release\AlmToolkitSetup.msi ReleaseItems\ForSigning\AlmToolkitSetup.msi

View File

@ -8,22 +8,22 @@
* Set configuration to Release
Rebuild Solution
* Submit a manual sign request for the following files at https://portal.esrp.microsoft.com/ & get them signed
\BismNormalizer\AlmToolkit\bin\Release\AlmToolkit.exe
\BismNormalizer\BismNormalizer\bin\Release\BismNormalizer.dll
\BismNormalizer\BismNormalizer.CommandLine\bin\Release\BismNormalizer.CommandLine.exe
* Open a cmd prompt from the AlmToolkit project root and run the following command
ReleaseItems\GetAssembliesForSigning.bat
* Upload the following assemblies from \ReleaseItems\ForSigning to https://portal.esrp.microsoft.com/ & get them signed
AlmToolkit.exe
BismNormalizer.dll
BismNormalizer.CommandLine.exe
https://microsoft-my.sharepoint.com/:v:/p/chwade/EeAAFiJhE3dEs9Oyum0tSIsBSp6P32y7pp1DGfOqbHbJIg?e=kPE2cg
ALM Toolkit App ID (Azure Portal): 62119323-7be0-4d45-9adb-8f90cafdf0b5
Operation Key Code: CP-230012
=> Download to working directory:
C:\Users\chwade\Source\ALMT Deployment Working Directory
* Download signed assemblies to \ReleaseItems\SignedFiles
* Copy signed assemblies to:
\BismNormalizer\AlmToolkit\obj\Release
\BismNormalizer\BismNormalizer\obj\Release
\BismNormalizer\BismNormalizer.CommandLine\obj\Release
* Run the following command
ReleaseItems\CopySignedAssembliesForSetup.bat
* In Configuration Manager:
AlmToolkit -
@ -41,13 +41,14 @@
* Set configurtaion back to Debug
* Submit a manual sign request for AlmToolkitSetup.msi at https://portal.esrp.microsoft.com/ & get it signed
\AlmToolkit\AlmToolkitSetup\Release
* Run the following command
ReleaseItems\GetMsiForSigning.bat
=> Download to working directory:
C:\Users\chwade\Source\ALMT Deployment Working Directory
* Upload AlmToolkitSetup.msi from \ReleaseItems\ForSigning to https://portal.esrp.microsoft.com/ & get it signed
* Deploy to github at https://github.com/microsoft/Analysis-Services/releases
* Download signed MSI to \ReleaseItems\SignedFiles
* Deploy AlmToolkitSetup.msi github at https://github.com/microsoft/Analysis-Services/releases
=============