Skip to content

Commit 6a81cc2

Browse files
committed
Update release instructions
1 parent 6ccc90c commit 6a81cc2

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

CONTRIBUTING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ In AWS, a `c5a.xlarge` instance running Windows Server 2022 will do.
5757
- Commit changes using commit message "Version X.X.X", and push.
5858
- Wait for GitHub Actions to build.
5959
- Test the zip and MSI in the GitHub Actions output. Rename them to `SQLNotebook-X.X.X.*`.
60+
- PowerShell: Set `$sha1` to the hash of the code signing certificate, then: `signtool sign /v /tr http://timestamp.sectigo.com /fd SHA256 /td SHA256 /sha1 $sha1 filename` for the `.msi`.
61+
- Unpack the `.zip`, sign `SqlNotebook.exe`, and repack it.
6062
- Create release on GitHub, upload zip and msi.
6163
- Let GitHub create a new tag, name it `vX.X.X`.
6264
- Set release title to `vX.X.X`.

ps1/New-Release.ps1

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,6 @@ if (-not (Test-Path $wixDir)) {
4646
throw "WiX not found!"
4747
}
4848

49-
$signtool = "C:\Program Files (x86)\Windows Kits\10\bin\$windowsSdkVersion\x64\signtool.exe"
50-
if (-not (Test-Path $signtool)) {
51-
throw "Signtool not found!"
52-
}
53-
5449
# Do the build
5550
Write-Output "Restoring source dependencies."
5651
& ps1\Update-Deps.ps1

0 commit comments

Comments
 (0)