mirror of https://github.com/EspoTek/Labrador.git
Uses UPLOADTOOL_BODY to generate descriptions for releases.
This commit is contained in:
parent
403dacb364
commit
bf8249861f
|
@ -71,13 +71,14 @@ after_success:
|
|||
# OSX
|
||||
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||
export UPLOADTOOL_SUFFIX="macOS"
|
||||
export UPLOADTOOL_BODY="EspoTek Labrador software for macOS 10.10 and later."
|
||||
wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
|
||||
bash upload.sh bin/Labrador.dmg
|
||||
# Linux
|
||||
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||
export UPLOADTOOL_SUFFIX="Linux"
|
||||
find appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq
|
||||
# curl --upload-file EspoTek_Labrador*.AppImage https://transfer.sh/EspoTek_Labrador-git.$(git rev-parse --short HEAD)-x86_64.AppImage
|
||||
export UPLOADTOOL_BODY=$'EspoTek Labrador software for Linux.\nFor Debian-based distros (including the Ubuntu family), you can use the .deb.\nFor other distros, you will need to use the .AppImage or build from source (instructions available in main page).'
|
||||
wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
|
||||
bash upload.sh EspoTek_Labrador*.AppImage EspoTek_Labrador*.deb
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue