Commit 0f7e5633 authored by Jerome Chauveau's avatar Jerome Chauveau
Browse files

tests ci suite

parent 3f924b30
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -19,8 +19,6 @@ build:
    - yarn install --prefer-offline
  script:
    - MAX_VERSION=$(node -p -e "require('./package.json').version")
    - ASSET="max-V${MAX_VERSION}.zip"
    - echo "ASSET = "$ASSET
    - cd tools
    - ./build.sh
    - echo $MAX_VERSION > dist/version
@@ -36,8 +34,9 @@ upload:
  rules:
    - if: $CI_COMMIT_TAG
  script:
    - ls max-build/version
    - MAX_VERSION=$(cat max-build/version)
    - ASSET="max-V${MAX_VERSION}.zip"
    - ASSET="max-v${MAX_VERSION}.zip"
    - echo "ASSET = "$ASSET
    - |
      curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file max-build/${ASSET} "${PACKAGE_REGISTRY_URL}/${ASSET}"