Report filesize in bytes

This commit is contained in:
RipleyTom
2019-09-16 03:24:06 +02:00
committed by Ani
parent 8f965ccd48
commit 794a1fef1d
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -111,7 +111,7 @@ after_build:
7z a -m0=LZMA2 -mx9 $env:BUILD .\bin\*
7z a -m0=LZMA2 -mx9 openssl_win64.7z C:\OpenSSL-v111-Win64\bin\libcrypto-1_1-x64.dll `
C:\OpenSSL-v111-Win64\bin\libssl-1_1-x64.dll
$env:FILESIZEMB = (Get-Item $env:BUILD).length/1MB
$env:FILESIZE = (Get-Item $env:BUILD).length
- ps: | # generate sha256 hashes
(get-filehash $env:BUILD -algorithm SHA256).Hash | out-file ("{0}.sha256" -f $env:BUILD) -encoding ascii
@@ -133,7 +133,7 @@ artifacts:
deploy:
provider: GitHub
# Description is a semi-colon seperated list for easy parsing
description: "$(SHA256SUM);$(FILESIZEMB)MB"
description: "$(SHA256SUM);$(FILESIZE)B"
tag: build-$(APPVEYOR_REPO_COMMIT)
release: $(AVVER)
artifact: $(BUILD)