Commit 184e6dc2 authored by Pietro Saccardi's avatar Pietro Saccardi

Resolve path issue with main.css

parent eaa4c0e1
Pipeline #494 failed with stage
in 48 seconds
......@@ -14,9 +14,12 @@ build:less:
- apk add --update --no-cache git zip
- /usr/local/bin/lessc "${LESS_SRC}" > "${LESS_OUTPUT}"
- git archive HEAD --prefix="${PLUGIN_NAME}/" --format=zip -o "${PLUGIN_NAME}.zip"
- git stash clear
- git add "${LESS_OUTPUT}"
- git stash -- "${LESS_OUTPUT}"
- git archive stash@{0} --prefix="${PLUGIN_NAME}/" --format=zip -o "${PLUGIN_NAME}.zip"
- git stash pop
- zip -d "${PLUGIN_NAME}.zip" "${PLUGIN_NAME}/${LESS_SRC}"
- zip -r "${PLUGIN_NAME}.zip" "${PLUGIN_NAME}/${LESS_OUTPUT}"
- "${PLUGIN_NAME}.zip"
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