Commit 094b1614 authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Fix for spec name in artifact

parent 0412cf5b
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -82,16 +82,13 @@ Publish spec:
     curl "${CI_API_V4_URL}/projects/$TOOLS_SCRIPTS_PROJECT_ID/repository/files/Spec-template%2Edocx/raw?ref=master" >> onem2m_spec_template.docx
    - |
     export SPEC_NAME=$(ls | grep *.md | cut -d'.' -f1)
    - |
     echo $SPEC_NAME
  script:
    - echo 'Publishing spec'
    - echo $SPEC_NAME
    - ./publish_spec.sh ${CI_PROJECT_URL} ${CI_COMMIT_TAG} onem2m_spec_template.docx $SPEC_NAME
  artifacts:
    name: "${SPEC_NAME}_${CI_COMMIT_TAG}"
    paths:
      - ${SPEC_NAME}_${CI_COMMIT_TAG}.docx
      - "*_${CI_COMMIT_TAG}.docx"

pages:
  stage: web