Commit eaa4c0e1 authored by Pietro Saccardi's avatar Pietro Saccardi

Adding and removing the correct files from archive

parent 25cee4cd
Pipeline #493 failed with stage
in 50 seconds
...@@ -15,7 +15,8 @@ build:less: ...@@ -15,7 +15,8 @@ build:less:
script: script:
- /usr/local/bin/lessc "${LESS_SRC}" > "${LESS_OUTPUT}" - /usr/local/bin/lessc "${LESS_SRC}" > "${LESS_OUTPUT}"
- git archive HEAD --prefix="${PLUGIN_NAME}/" --format=zip -o "${PLUGIN_NAME}.zip" - git archive HEAD --prefix="${PLUGIN_NAME}/" --format=zip -o "${PLUGIN_NAME}.zip"
- zip -d "${PLUGIN_NAME}.zip" "${LESS_SRC}" - zip -d "${PLUGIN_NAME}.zip" "${PLUGIN_NAME}/${LESS_SRC}"
- zip -r "${PLUGIN_NAME}.zip" "${PLUGIN_NAME}/${LESS_OUTPUT}"
artifacts: artifacts:
paths: paths:
- "${PLUGIN_NAME}.zip" - "${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