|
@@ -15,6 +15,8 @@ returnValue=$?
|
|
# 1: count was increased
|
|
# 1: count was increased
|
|
# 2: count stayed the same
|
|
# 2: count stayed the same
|
|
|
|
|
|
|
|
+echo "Branch: $3"
|
|
|
|
+
|
|
if [ $3 = "master" -a $returnValue -eq 0 ]; then
|
|
if [ $3 = "master" -a $returnValue -eq 0 ]; then
|
|
echo "New master at: https://nextcloud.kaminsky.me/index.php/s/tXwtChzyqMj6I8v"
|
|
echo "New master at: https://nextcloud.kaminsky.me/index.php/s/tXwtChzyqMj6I8v"
|
|
curl -u $4:$5 -X PUT https://nextcloud.kaminsky.me/remote.php/webdav/droneLogs/master.html --upload-file build/reports/lint/lint.html
|
|
curl -u $4:$5 -X PUT https://nextcloud.kaminsky.me/remote.php/webdav/droneLogs/master.html --upload-file build/reports/lint/lint.html
|