Commit be2e3c64 authored by Bertrand Souville's avatar Bertrand Souville
Browse files

Remove temporary workaround

parent da034df8
Loading
Loading
Loading
Loading
Loading
+3 −4
Original line number Original line Diff line number Diff line
@@ -34,9 +34,9 @@ pages:
  dependencies:
  dependencies:
    - Validate OpenAPIs
    - Validate OpenAPIs
  script:
  script:
    # Get the previous GitLab Pages content (skip for -final tags)
    # Get the previous GitLab Pages content
    - set +e
    - set +e
    - if [[ ! "$CI_COMMIT_TAG" =~ -final ]]; then curl --fail "$CI_PAGES_URL/content.zip" -o "content.zip"; fi
    - curl --fail "$CI_PAGES_URL/content.zip" -o "content.zip"
    - if [ -e "content.zip" ]; then unzip "content.zip"; rm "content.zip"; fi
    - if [ -e "content.zip" ]; then unzip "content.zip"; rm "content.zip"; fi
    - set -e
    - set -e
    # Add/update content
    # Add/update content
@@ -53,8 +53,7 @@ pages:
      - public
      - public
  rules:
  rules:
    # Job executed when creating a tag
    # Job executed when creating a tag
    # Workaround for SOL002-SOL003 5.3.1-final tag
    - if: $CI_COMMIT_TAG
    - if: $CI_COMMIT_TAG =~ /-final$/
      when: always
      when: always
    # Job executed when creating an official tag (in case needed)
    # Job executed when creating an official tag (in case needed)
    #- if: $CI_COMMIT_TAG =~ /v\d(\.\d){2}$/
    #- if: $CI_COMMIT_TAG =~ /v\d(\.\d){2}$/