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