mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-19 12:22:47 +01:00
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
|
||||
|
||||
set -- R*.AppImage
|
||||
|
||||
rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi
|
||||
|
||||
imagename="$1"
|
||||
git_revision=$(git rev-parse --short HEAD)
|
||||
|
||||
@ -41,6 +44,9 @@ echo "File to upload: $imagename"
|
||||
echo "URL ending: $imagenamenospace"
|
||||
|
||||
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
|
||||
|
||||
cd ./build-wiki
|
||||
|
Loading…
Reference in New Issue
Block a user