Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Skovhede <kenneth@hexad.dk>2016-03-20 15:40:38 +0300
committerKenneth Skovhede <kenneth@hexad.dk>2016-03-20 15:40:38 +0300
commitdd3c8012f8acba30c6077e4c421507c109a4c7a5 (patch)
treeac5063be56fd3eb43989ef216d437548b6db31de /build-release.sh
parent84a928e3eb59134554dc7ff8b298c296b8823493 (diff)
Fixed the build script to upload the binary without a redundant prefix
Diffstat (limited to 'build-release.sh')
-rw-r--r--build-release.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build-release.sh b/build-release.sh
index e2031c7a1..453c644ed 100644
--- a/build-release.sh
+++ b/build-release.sh
@@ -200,6 +200,7 @@ else
--security-token "${GITHUB_TOKEN}" \
--description "${RELEASE_MESSAGE}" \
+ cd "${RELEASE_TYPE}"
github-release upload \
--tag "v${RELEASE_VERSION}-${RELEASE_NAME}" \
--name "${RELEASE_TYPE}/${RELEASE_FILE_NAME}.zip" \
@@ -207,6 +208,7 @@ else
--user "duplicati" \
--security-token "${GITHUB_TOKEN}" \
--file "${RELEASE_FILE_NAME}.zip"
+ cd ..
fi
echo