Commit d9e43e45 authored by Robin Eschbach's avatar Robin Eschbach
Browse files

[FIX #464] use commit slug as it already replace slashes and other characters

parent 4be3de83
......@@ -28,15 +28,12 @@ DOC_UPLOAD="https://seafile.rlp.net/ajax/u/d/4f71896e2f744c8796fb/upload/?r=b7d1
APP_UPLOAD="https://seafile.rlp.net/ajax/u/d/39a0552b276f4f0797da/upload/?r=b7d1e764-0c95-4b94-aa00-c8c67c869a9a"
UPLOAD_REGEX="\\{\"url\": \"([^\"]*)\"\\}"
GIT_COMMIT=$(git rev-parse --short HEAD)
GIT_BRANCH="$CI_COMMIT_REF_NAME"
GIT_BRANCH="$CI_COMMIT_REF_SLUG"
DATE=$(date '+%Y-%m-%d_%H-%M')
DOC_NAME="doc_${GIT_BRANCH}_${DATE}_${GIT_COMMIT}.tar.gz"
APP_NAME="OpenWalnut_${GIT_BRANCH}_${DATE}_${GIT_COMMIT}.AppImage"
DOC_NAME=${DOC_NAME/\//\_}
APP_NAME=${APP_NAME/\//\_}
uploadDoc() {
echo "TAR DOC"
tar -czvf $DOC_NAME ../../doc/developer/html
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment