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

Resolve path issue with main.css

parent eaa4c0e1
Loading
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -14,9 +14,12 @@ build:less:
    - apk add --update --no-cache git zip
  script:
    - /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}"
  artifacts:
    paths:
      - "${PLUGIN_NAME}.zip"