Loading .gitlab-ci.yml +5 −2 Original line number Diff line number Diff line Loading @@ -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" Loading
.gitlab-ci.yml +5 −2 Original line number Diff line number Diff line Loading @@ -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"