@@ -44,7 +44,6 @@ set_env_win () {
44
44
set RUST_BACKTRACE=1
45
45
# export RUSTFLAGS=$RUSTFLAGS
46
46
rustup default stable-x86_64-pc-windows-msvc
47
- echo " MsBuild.exe windows\ptray\ptray.vcxproj /p:Platform=x64 /p:Configuration=Release" > msbuild.cmd
48
47
echo " @ signtool sign /f " \% " 1 /p " \% " 2 /tr http://timestamp.comodoca.com /du https://parity.io " \% " 3" > sign.cmd
49
48
}
50
49
build () {
@@ -166,19 +165,6 @@ make_pkg () {
166
165
sign_exe () {
167
166
./sign.cmd $keyfile $certpass " target/$PLATFORM /release/parity.exe"
168
167
}
169
- make_exe () {
170
- ./msbuild.cmd
171
- ./sign.cmd $keyfile $certpass windows/ptray/x64/release/ptray.exe
172
- cd nsis
173
- curl -sL --url " https://github.com/paritytech/win-build/raw/master/vc_redist.x64.exe" -o vc_redist.x64.exe
174
- echo " makensis.exe installer.nsi" > nsis.cmd
175
- ./nsis.cmd
176
- cd ..
177
- cp nsis/installer.exe " parity_" $VER " _" $IDENT " _" $ARC " ." $EXT
178
- ./sign.cmd $keyfile $certpass " parity_" $VER " _" $IDENT " _" $ARC " ." $EXT
179
- $MD5_BIN " parity_" $VER " _" $IDENT " _" $ARC " ." $EXT -p %h > " parity_" $VER " _" $IDENT " _" $ARC " ." $EXT " .md5"
180
- $SHA256_BIN " parity_" $VER " _" $IDENT " _" $ARC " ." $EXT -p %h > " parity_" $VER " _" $IDENT " _" $ARC " ." $EXT " .sha256"
181
- }
182
168
push_binaries () {
183
169
echo " Push binaries to AWS S3"
184
170
aws configure set aws_access_key_id $s3_key
@@ -205,9 +191,6 @@ push_binaries () {
205
191
aws s3api put-object --bucket $S3_BUCKET --key $CI_BUILD_REF_NAME /$BUILD_PLATFORM /whisper$S3WIN --body target/$PLATFORM /release/whisper$S3WIN
206
192
aws s3api put-object --bucket $S3_BUCKET --key $CI_BUILD_REF_NAME /$BUILD_PLATFORM /whisper$S3WIN .md5 --body whisper$S3WIN .md5
207
193
aws s3api put-object --bucket $S3_BUCKET --key $CI_BUILD_REF_NAME /$BUILD_PLATFORM /whisper$S3WIN .sha256 --body whisper$S3WIN .sha256
208
- aws s3api put-object --bucket $S3_BUCKET --key $CI_BUILD_REF_NAME /$BUILD_PLATFORM /" parity_" $VER " _" $IDENT " _" $ARC " ." $EXT --body " parity_" $VER " _" $IDENT " _" $ARC " ." $EXT
209
- aws s3api put-object --bucket $S3_BUCKET --key $CI_BUILD_REF_NAME /$BUILD_PLATFORM /" parity_" $VER " _" $IDENT " _" $ARC " ." $EXT " .md5" --body " parity_" $VER " _" $IDENT " _" $ARC " ." $EXT " .md5"
210
- aws s3api put-object --bucket $S3_BUCKET --key $CI_BUILD_REF_NAME /$BUILD_PLATFORM /" parity_" $VER " _" $IDENT " _" $ARC " ." $EXT " .sha256" --body " parity_" $VER " _" $IDENT " _" $ARC " ." $EXT " .sha256"
211
194
}
212
195
make_archive () {
213
196
echo " add artifacts to archive"
@@ -356,7 +339,6 @@ case $BUILD_PLATFORM in
356
339
build
357
340
sign_exe
358
341
calculate_checksums
359
- make_exe
360
342
make_archive
361
343
push_binaries
362
344
updater_push_release
0 commit comments