mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
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:
@@ -72,22 +72,22 @@ then echo "AppImage not generated, check the errors"; exit 1
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Renaming AppImage file to branch and build number ready for deploy"
|
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
|
mv GoldenCheetah*.AppImage $FINAL_NAME
|
||||||
ls -l $FINAL_NAME
|
ls -l $FINAL_NAME
|
||||||
|
|
||||||
### Minimum Test
|
### Minimum Test
|
||||||
./$FINAL_NAME --version 2>GCversionLinuxOld.txt
|
./$FINAL_NAME --version 2>GCversionLinuxQt5.txt
|
||||||
git log -1 >> GCversionLinuxOld.txt
|
git log -1 >> GCversionLinuxQt5.txt
|
||||||
echo "SHA256 hash of $FINAL_NAME:" >> GCversionLinuxOld.txt
|
echo "SHA256 hash of $FINAL_NAME:" >> GCversionLinuxQt5.txt
|
||||||
shasum -a 256 $FINAL_NAME | cut -f 1 -d ' ' >> GCversionLinuxOld.txt
|
shasum -a 256 $FINAL_NAME | cut -f 1 -d ' ' >> GCversionLinuxQt5.txt
|
||||||
cat GCversionLinuxOld.txt
|
cat GCversionLinuxQt5.txt
|
||||||
|
|
||||||
### upload for testing
|
### upload for testing
|
||||||
if [[ $TRAVIS_PULL_REQUEST == "false" && $TRAVIS_COMMIT_MESSAGE == *"[publish binaries]"* ]]; then
|
if [[ $TRAVIS_PULL_REQUEST == "false" && $TRAVIS_COMMIT_MESSAGE == *"[publish binaries]"* ]]; then
|
||||||
mkdir out
|
mkdir out
|
||||||
mv $FINAL_NAME 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
|
${TRAVIS_BUILD_DIR}/ghr/ghr -n "Snapshot Builds" -prerelease -replace snapshot out
|
||||||
else
|
else
|
||||||
curl --max-time 300 -F "file=@$FINAL_NAME" https://temp.sh/upload
|
curl --max-time 300 -F "file=@$FINAL_NAME" https://temp.sh/upload
|
||||||
|
|||||||
Reference in New Issue
Block a user