1
0
Fork 0

Make release text better.

This commit is contained in:
NamedKitten 2018-10-18 08:15:04 +01:00
parent bc6a226aca
commit febe20b96c
3 changed files with 11 additions and 5 deletions

View file

@ -25,10 +25,7 @@ script:
- bash scripts/makeappimage.sh
after_success:
- find appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq
- curl --upload-file KittehPlayer*.AppImage https://transfer.sh/KittehPlayer-git.$(git rev-parse --short HEAD)-x86_64.AppImage
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
- bash upload.sh KittehPlayer*.AppImage*
- bash scripts/upload.sh
branches:
except:

View file

@ -36,6 +36,5 @@ echo "--disable-caca --disable-wayland --disable-gl-wayland --disable-libarchive
./rebuild -j`nproc` 2>&1 > build.log
sudo ./install
ccache -s
curl --upload-file build.log https://transfer.sh/KittehPlayer-build.log
cd $OLDDIR

10
scripts/upload.sh Executable file
View file

@ -0,0 +1,10 @@
#!/bin/bash
set -e
export TEXT=`git log -1 --pretty=%B`
export UPLOADTOOL_BODY="$TEXT\nTravis CI build log: https://travis-ci.com/$TRAVIS_REPO_SLUG/builds/$TRAVIS_BUILD_ID/"
curl --upload-file KittehPlayer*.AppImage https://transfer.sh/KittehPlayer-git.$(git rev-parse --short HEAD)-x86_64.AppImage
wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
bash upload.sh KittehPlayer*.AppImage*
echo "Done!"