Commit 72726761 authored by Gregor Longariva's avatar Gregor Longariva 💬
Browse files

more tests

parent 3c343f6a
......@@ -30,10 +30,10 @@ test_build:
- if: '$CI_COMMIT_TAG =~ /^test-/'
script:
#- fastlane test
- 'echo will do beta: "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file build/${DMG} ${PACKAGE_REGISTRY_URL}/${FILE}Test-"$APP_VERSION".dmg'
- 'echo will do beta: "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file build/${PKG} ${PACKAGE_REGISTRY_URL}/${FILE}Test-${APP_VERSION}.pkg'
- 'echo will do release: "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file build/${DMG} ${PACKAGE_REGISTRY_URL}/${FILE}-"$APP_VERSION".dmg'
- 'echo will do release: "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file build/${PACKAGE} ${PACKAGE_REGISTRY_URL}/${FILE}-"$APP_VERSION".pkg'
- 'echo will do beta: "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file build/${FILE}Beta-"$APP_VERSION".dmg ${PACKAGE_REGISTRY_URL}/${FILE}Beta-"$APP_VERSION".dmg'
- 'echo will do beta: "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file build/${FILE}Beta-"$APP_VERSION".pkg ${PACKAGE_REGISTRY_URL}/${FILE}Beta-${APP_VERSION}.pkg'
- 'echo will do release: "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file build/${FILE}-"$APP_VERSION".dmg ${PACKAGE_REGISTRY_URL}/${FILE}-"$APP_VERSION".dmg'
- 'echo will do release: "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file build/${FILE}-"$APP_VERSION".pkg ${PACKAGE_REGISTRY_URL}/${FILE}-"$APP_VERSION".pkg'
- 'echo will do beta upload: create --name "$CI_COMMIT_TAG" --tag-name $CI_COMMIT_TAG --assets-link "{\"name\":\"${FILE}Beta-"$APP_VERSION".pkg\",\"url\":\"${PACKAGE_REGISTRY_URL}/${FILE}Beta-"$APP_VERSION".pkg\"}" --assets-link "{\"name\":\"${FILE}Beta-"$APP_VERSION".dmg\",\"url\":\"${PACKAGE_REGISTRY_URL}/${FILE}Beta-"$APP_VERSION".dmg\"}"'
- 'echo will do release upload: create --name "$CI_COMMIT_TAG" --tag-name $CI_COMMIT_TAG --assets-link "{\"name\":\"${FILE}-"$APP_VERSION".pkg\",\"url\":\"${PACKAGE_REGISTRY_URL}/${FILE}-"$APP_VERSION".pkg\"}" --assets-link "{\"name\":\"${FILE}-"$APP_VERSION".dmg\",\"url\":\"${PACKAGE_REGISTRY_URL}/${FILE}-"$APP_VERSION".dmg\"}"'
......@@ -84,8 +84,8 @@ beta upload:
rules:
- if: '$CI_COMMIT_TAG =~ /^beta-/'
script:
- '/usr/bin/curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file build/${DMG} ${PACKAGE_REGISTRY_URL}/${FILE}Beta-"$APP_VERSION".dmg'
- '/usr/bin/curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file build/${PACKAGE} ${PACKAGE_REGISTRY_URL}/${FILE}Beta-"$APP_VERSION".pkg'
- '/usr/bin/curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file build/${FILE}Beta-"$APP_VERSION".dmg ${PACKAGE_REGISTRY_URL}/${FILE}Beta-"$APP_VERSION".dmg'
- '/usr/bin/curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file build/${FILE}Beta-"$APP_VERSION".pkg ${PACKAGE_REGISTRY_URL}/${FILE}Beta-"$APP_VERSION".pkg'
dependencies:
- beta build
tags:
......@@ -97,8 +97,8 @@ release upload:
rules:
- if: '$CI_COMMIT_TAG =~ /^release-/'
script:
- '/usr/bin/curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file build/${DMG} ${PACKAGE_REGISTRY_URL}/${FILE}-"$APP_VERSION".dmg'
- '/usr/bin/curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file build/${PACKAGE} ${PACKAGE_REGISTRY_URL}/${FILE}-"$APP_VERSION".pkg'
- '/usr/bin/curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file build/${FILE}-"$APP_VERSION".dmg ${PACKAGE_REGISTRY_URL}/${FILE}-"$APP_VERSION".dmg'
- '/usr/bin/curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file build/${FILE}-"$APP_VERSION".pkg ${PACKAGE_REGISTRY_URL}/${FILE}-"$APP_VERSION".pkg'
dependencies:
- release build
tags:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment