Files
flameshot/travis/linux_after_success.sh
Ahmed Zetao Yang 52d9815450 Some Fixes for updating to v0.6.0 (#317)
* Fix name specification of packages

* Update rpm .spec file

* Update to v0.6.0
2018-08-18 17:04:40 +02:00

28 lines
687 B
Bash
Executable File

#!/bin/bash --
set -e
DIST_PATH=dist
if [[ "${DIST}" == "trusty" ]]; then
travis_retry curl \
--upload-file \
"${DIST_PATH}"/flameshot_${VERSION}_${ARCH}.${EXTEN} \
"https://transfer.sh/flameshot_${VERSION}_${ARCH}.${EXTEN}"
else
case "${OS}" in
"ubuntu"|"debian")
travis_retry curl \
--upload-file \
"${DIST_PATH}"/flameshot_${VERSION}_${DIST}_${ARCH}.${EXTEN} \
"https://transfer.sh/flameshot_${VERSION}_${DIST}_${ARCH}.${EXTEN}"
;;
"fedora")
travis_retry curl \
--upload-file \
"${DIST_PATH}"/flameshot_${VERSION}_fedora${DIST}_${ARCH}.${EXTEN} \
"https://transfer.sh/flameshot_${VERSION}_fedora${DIST}_${ARCH}.${EXTEN}"
;;
esac
fi