@@ -103,13 +103,19 @@ for:
103
103
after_test :
104
104
- cmd : iscc /O "Rubberduck.Deployment\InnoSetup\Rubberduck.Installer.Build.iss"
105
105
- cmd : move %INSTALLER_DIR%\Rubberduck.Setup.exe %INSTALLER_DIR%\%INSTALLER_NAME%
106
+ - ps : |
107
+ $installer = "$env:INSTALLER_DIR\$env:INSTALLER_NAME"
108
+ $sha = Get-FileHash -Path $installer -Algorithm SHA256
109
+ Set-Content -Path "$($installer)_sha256.hash" -Value $sha.Hash
106
110
107
111
# grab the installers we produce and upload them to github :)
108
112
artifacts :
109
113
- path : Rubberduck.Deployment\InnoSetup\Installers\Rubberduck.Setup.*.exe
110
114
name : Rubberduck
111
115
- path : Rubberduck.Deployment\bin\Rubberduck.CodeAnalysis.xml
112
116
name : InspectionDocs
117
+ - path : Rubberduck.Deployment\InnoSetup\Installers\*.hash
118
+ name : InstallerHashes
113
119
deploy :
114
120
- provider : GitHub
115
121
tag : RETAGMEWITHAMESSAGE
@@ -119,7 +125,7 @@ deploy:
119
125
description : " Built with :heart: by AppVeyor CI on [$(appveyor_repo_branch)] - https://ci.appveyor.com/project/rubberduck-vba/rubberduck/build/$(appveyor_build_version)"
120
126
auth_token :
121
127
secure : NVAZgFRSk566SP5QDge5gYRWCaLi4NJJPTNk3QengH15wL9iVldfrFOllbzKXExq
122
- artifact : Rubberduck, InspectionDocs
128
+ artifact : Rubberduck, InspectionDocs, InstallerHashes
123
129
on :
124
130
branch : master
125
131
- provider : GitHub
@@ -130,7 +136,7 @@ deploy:
130
136
description : " AppVeyor build on [$(appveyor_repo_branch)] - https://ci.appveyor.com/project/rubberduck-vba/rubberduck/build/$(appveyor_build_version)"
131
137
auth_token :
132
138
secure : NVAZgFRSk566SP5QDge5gYRWCaLi4NJJPTNk3QengH15wL9iVldfrFOllbzKXExq
133
- artifact : Rubberduck, InspectionDocs
139
+ artifact : Rubberduck, InspectionDocs, InstallerHashes
134
140
on :
135
141
branch : next
136
142
0 commit comments