Loading .gitlab-ci.yml +5 −5 Original line number Diff line number Diff line Loading @@ -24,11 +24,11 @@ build: - cd tools - ./build.sh - echo $MAX_VERSION > dist/version - mv dist ../ - ls ../dist - mv dist ../max-build - ls ../max-build artifacts: paths: - dist/ - max-build/ upload: stage: upload Loading @@ -36,11 +36,11 @@ upload: rules: - if: $CI_COMMIT_TAG script: - MAX_VERSION=$(cat dist/version) - MAX_VERSION=$(cat max-build/version) - ASSET="max-V${MAX_VERSION}.zip" - echo "ASSET = "$ASSET - | curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file dist/${ASSET} "${PACKAGE_REGISTRY_URL}/${ASSET}" curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file max-build/${ASSET} "${PACKAGE_REGISTRY_URL}/${ASSET}" release: # Caution, as of 2021-02-02 these assets links require a login, see: Loading Loading
.gitlab-ci.yml +5 −5 Original line number Diff line number Diff line Loading @@ -24,11 +24,11 @@ build: - cd tools - ./build.sh - echo $MAX_VERSION > dist/version - mv dist ../ - ls ../dist - mv dist ../max-build - ls ../max-build artifacts: paths: - dist/ - max-build/ upload: stage: upload Loading @@ -36,11 +36,11 @@ upload: rules: - if: $CI_COMMIT_TAG script: - MAX_VERSION=$(cat dist/version) - MAX_VERSION=$(cat max-build/version) - ASSET="max-V${MAX_VERSION}.zip" - echo "ASSET = "$ASSET - | curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file dist/${ASSET} "${PACKAGE_REGISTRY_URL}/${ASSET}" curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file max-build/${ASSET} "${PACKAGE_REGISTRY_URL}/${ASSET}" release: # Caution, as of 2021-02-02 these assets links require a login, see: Loading