Skip to content

Commit 0f20297

Browse files
committed
Adds A SNK For PR Bulids That Should Not Be Trusted
1 parent 7128235 commit 0f20297

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ init:
2020

2121
install:
2222
- IF DEFINED SNKSECRET (nuget install secure-file -ExcludeVersion)
23-
- IF DEFINED SNKSECRET (secure-file\tools\secure-file -decrypt %APPVEYOR_BUILD_FOLDER%\%KEYFILE%.enc -secret %SNKSECRET%)
24-
- IF NOT DEFINED SNKSECRET (sn -k rabbitmq.snk)
23+
- IF DEFINED SNKSECRET (secure-file\tools\secure-file -decrypt %APPVEYOR_BUILD_FOLDER%\%KEYFILE%.enc -secret %SNKSECRET%) ELSE (ECHO This Is A Pull Request Build)
24+
- IF NOT DEFINED SNKSECRET (copy "rabbit.snk.prbuilds" "rabbit.snk") ELSE (ECHO Using The Release Key File)
2525
- ps: |
2626
$regPath = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\RabbitMQ"
2727
if (Test-Path "HKLM:\SOFTWARE\Wow6432Node\") { $regPath = "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\RabbitMQ" }

rabbit.snk.prbuilds

596 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)