mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-07 05:33:34 +01:00
Table-like linux dev builds overview.
This commit is contained in:
parent
3cb1d3c1d4
commit
6e74483da5
@ -26,11 +26,12 @@ git clone https://martinrotter:${GH_TOKEN}@github.com/martinrotter/rssguard.wiki
|
|||||||
|
|
||||||
set -- R*.AppImage
|
set -- R*.AppImage
|
||||||
imagename="$1"
|
imagename="$1"
|
||||||
|
git_revision=$(git rev-parse --short HEAD)
|
||||||
|
|
||||||
if [ "$USE_WEBENGINE" = true ]; then
|
if [ "$USE_WEBENGINE" = true ]; then
|
||||||
imagenamenospace="rssguard-$(git rev-parse --short HEAD)-linux64.AppImage"
|
imagenamenospace="rssguard-${git_revision}-linux64.AppImage"
|
||||||
else
|
else
|
||||||
imagenamenospace="rssguard-$(git rev-parse --short HEAD)-nowebengine-linux64.AppImage"
|
imagenamenospace="rssguard-${git_revision}-nowebengine-linux64.AppImage"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mv "$imagename" "$imagenamenospace"
|
mv "$imagename" "$imagenamenospace"
|
||||||
@ -39,8 +40,8 @@ imagename="$imagenamenospace"
|
|||||||
echo "File to upload: $imagename"
|
echo "File to upload: $imagename"
|
||||||
echo "URL ending: $imagenamenospace"
|
echo "URL ending: $imagenamenospace"
|
||||||
|
|
||||||
curl --upload-file "./$imagename" "https://transfer.sh/$imagenamenospace" --silent >> ./build-wiki/Linux-development-builds.md
|
url=$(curl --upload-file "./$imagename" "https://transfer.sh/$imagenamenospace" --silent)
|
||||||
echo "" >> ./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) |"$'\r' >> ./build-wiki/Linux-development-builds.md
|
||||||
|
|
||||||
cd ./build-wiki
|
cd ./build-wiki
|
||||||
git commit -a -m "New files."
|
git commit -a -m "New files."
|
||||||
|
Loading…
Reference in New Issue
Block a user