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