Rename AppImage generated by Travis-ci

[skip AppVeyor]
Old was confusing and we will upgrade AppVeyor
to Qt6, so lets use Qt5 for clarity sake.
This commit is contained in:
Alejandro Martinez
2025-09-18 10:47:59 -03:00
parent 3d7858b17f
commit f49849b445

View File

@@ -72,22 +72,22 @@ then echo "AppImage not generated, check the errors"; exit 1
fi
echo "Renaming AppImage file to branch and build number ready for deploy"
export FINAL_NAME=GoldenCheetah_v3.7_x64Old.AppImage
export FINAL_NAME=GoldenCheetah_v3.7_x64Qt5.AppImage
mv GoldenCheetah*.AppImage $FINAL_NAME
ls -l $FINAL_NAME
### Minimum Test
./$FINAL_NAME --version 2>GCversionLinuxOld.txt
git log -1 >> GCversionLinuxOld.txt
echo "SHA256 hash of $FINAL_NAME:" >> GCversionLinuxOld.txt
shasum -a 256 $FINAL_NAME | cut -f 1 -d ' ' >> GCversionLinuxOld.txt
cat GCversionLinuxOld.txt
./$FINAL_NAME --version 2>GCversionLinuxQt5.txt
git log -1 >> GCversionLinuxQt5.txt
echo "SHA256 hash of $FINAL_NAME:" >> GCversionLinuxQt5.txt
shasum -a 256 $FINAL_NAME | cut -f 1 -d ' ' >> GCversionLinuxQt5.txt
cat GCversionLinuxQt5.txt
### upload for testing
if [[ $TRAVIS_PULL_REQUEST == "false" && $TRAVIS_COMMIT_MESSAGE == *"[publish binaries]"* ]]; then
mkdir out
mv $FINAL_NAME out
mv GCversionLinuxOld.txt out
mv GCversionLinuxQt5.txt out
${TRAVIS_BUILD_DIR}/ghr/ghr -n "Snapshot Builds" -prerelease -replace snapshot out
else
curl --max-time 300 -F "file=@$FINAL_NAME" https://temp.sh/upload