Add sha256 hash for CI binaries to GCversionXXX.txt

[publish binaries]
This commit is contained in:
Ale Martinez
2020-05-13 19:17:24 -03:00
parent f261a76b9e
commit 71a81e7f01
3 changed files with 5 additions and 0 deletions

View File

@@ -175,6 +175,7 @@ test_script:
# minimum test
- src\release\GoldenCheetah --version 2>GCversionWindows.txt
- git log -1 >> GCversionWindows.txt
- ps: CertUtil -hashfile GoldenCheetah_v3.6-DEV_x64.exe sha256 | Select-Object -First 2 | Add-Content GCversionWindows.txt
- type GCversionWindows.txt
artifacts:

View File

@@ -64,6 +64,8 @@ ls -l $FINAL_NAME
### Minimum Test
./$FINAL_NAME --version 2>GCversionLinux.txt
git log -1 >> GCversionLinux.txt
echo "SHA256 hash of $FINAL_NAME:" >> GCversionLinux.txt
shasum -a 256 $FINAL_NAME | cut -f 1 -d ' ' >> GCversionLinux.txt
cat GCversionLinux.txt
### upload for testing

View File

@@ -53,6 +53,8 @@ echo "Mounting dmg file and testing it can execute"
hdiutil mount $FINAL_NAME
/Volumes/GoldenCheetah/GoldenCheetah.app/Contents/MacOS/GoldenCheetah --version 2>GCversionMacOS.txt
git log -1 >> GCversionMacOS.txt
echo "SHA256 hash of $FINAL_NAME:" >> GCversionMacOS.txt
shasum -a 256 $FINAL_NAME | cut -f 1 -d ' ' >> GCversionMacOS.txt
cat GCversionMacOS.txt
echo "Uploading for user tests"