diff --git a/appimage/build-appimage.sh b/appimage/build-appimage.sh index eb4ce24ca..d5f578a4e 100755 --- a/appimage/build-appimage.sh +++ b/appimage/build-appimage.sh @@ -66,5 +66,7 @@ fi # use the version number in the name when building a tag on Travis CI if [ -n "$TRAVIS_TAG" ] then - mv ./output/*.AppImage ./output/qTox-"$TRAVIS_TAG".x86_64.AppImage + readonly OUTFILE=./output/qTox-"$TRAVIS_TAG".x86_64.AppImage + mv ./output/*.AppImage "$OUTFILE" + sha256sum "$OUTFILE" > "$OUTFILE".sha256 fi diff --git a/flatpak/build-flatpak.sh b/flatpak/build-flatpak.sh index b6b74bb66..4120b7c5c 100755 --- a/flatpak/build-flatpak.sh +++ b/flatpak/build-flatpak.sh @@ -48,5 +48,7 @@ fi # use the version number in the name when building a tag on Travis CI if [ -n "$TRAVIS_TAG" ] then - mv ./output/*.flatpak ./output/qTox-"$TRAVIS_TAG".x86_64.flatpak + readonly OUTFILE=./output/qTox-"$TRAVIS_TAG".x86_64.flatpak + mv ./output/*.flatpak "$OUTFILE" + sha256sum "$OUTFILE" > "$OUTFILE".sha256 fi