Commit 7e4e9039 authored by Robin Eschbach's avatar Robin Eschbach
Browse files

[FIX #464] slashes to spaces

parent ca58c7a0
......@@ -27,13 +27,16 @@
DOC_UPLOAD="https://seafile.rlp.net/ajax/u/d/4f71896e2f744c8796fb/upload/?r=b7d1e764-0c95-4b94-aa00-c8c67c869a9a"
APP_UPLOAD="https://seafile.rlp.net/ajax/u/d/39a0552b276f4f0797da/upload/?r=b7d1e764-0c95-4b94-aa00-c8c67c869a9a"
UPLOAD_REGEX="\\{\"url\": \"([^\"]*)\"\\}"
GIT_BRANCH=$(git branch --remote --verbose --no-abbrev --contains | sed -rne 's/^[^\/]*\/([^\ ]+).*$/\1/p')
GIT_COMMIT=$(git rev-parse --short HEAD)
GIT_BRANCH=$(git name-rev $GIT_COMMIT | egrep -o '([^\/ ]+$)')
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