mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Add sha256 hash for CI binaries to GCversionXXX.txt
[publish binaries]
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user