Verified Commit d473cecd authored by Sebastian Höffner's avatar Sebastian Höffner
Browse files

Removing long paths from zip package

parent b35e3ca8
Pipeline #132178 passed with stages
in 5 minutes and 15 seconds
......@@ -116,8 +116,10 @@ package:
script:
- apt-get update && apt-get install -y zip curl
- export PACKAGE_VERSION=$(grep "bundleVersion:" ProjectSettings/ProjectSettings.asset | cut -d':' -f 2 | xargs echo -n)
- 'zip -r "$UNITY_DIR/Builds/WebGL/${BUILD_NAME}.zip" "$UNITY_DIR/Builds/WebGL/${BUILD_NAME}"'
- pushd $UNITY_DIR/Builds/WebGL
- 'zip -r "$UNITY_DIR/Builds/WebGL/${BUILD_NAME}.zip" "${BUILD_NAME}"'
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file "$UNITY_DIR/Builds/WebGL/${BUILD_NAME}.zip" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/${BUILD_NAME}/${PACKAGE_VERSION}/${BUILD_NAME}.zip"'
- popd
only:
- master
......
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