Break build when upload or comp fails.
This commit is contained in:
parent
bdfe0af3b7
commit
1d96e497b3
@ -25,6 +25,9 @@ git config --global user.name "martinrotter"
|
|||||||
git clone https://martinrotter:${GH_TOKEN}@github.com/martinrotter/rssguard.wiki.git ./build-wiki
|
git clone https://martinrotter:${GH_TOKEN}@github.com/martinrotter/rssguard.wiki.git ./build-wiki
|
||||||
|
|
||||||
set -- R*.AppImage
|
set -- R*.AppImage
|
||||||
|
|
||||||
|
rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi
|
||||||
|
|
||||||
imagename="$1"
|
imagename="$1"
|
||||||
git_revision=$(git rev-parse --short HEAD)
|
git_revision=$(git rev-parse --short HEAD)
|
||||||
|
|
||||||
@ -41,6 +44,9 @@ echo "File to upload: $imagename"
|
|||||||
echo "URL ending: $imagenamenospace"
|
echo "URL ending: $imagenamenospace"
|
||||||
|
|
||||||
url=$(curl --upload-file "./$imagename" "https://transfer.sh/$imagenamenospace" --silent)
|
url=$(curl --upload-file "./$imagename" "https://transfer.sh/$imagenamenospace" --silent)
|
||||||
|
|
||||||
|
rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi
|
||||||
|
|
||||||
echo "| $(date +'%m-%d-%Y %T') | [$git_revision](https://github.com/martinrotter/rssguard/commit/$git_revision) | [transfer.sh]($url) | $(echo "$USE_WEBENGINE") | "$'\r' >> ./build-wiki/Linux-development-builds.md
|
echo "| $(date +'%m-%d-%Y %T') | [$git_revision](https://github.com/martinrotter/rssguard/commit/$git_revision) | [transfer.sh]($url) | $(echo "$USE_WEBENGINE") | "$'\r' >> ./build-wiki/Linux-development-builds.md
|
||||||
|
|
||||||
cd ./build-wiki
|
cd ./build-wiki
|
||||||
|
Loading…
x
Reference in New Issue
Block a user