3 Commits

Author SHA1 Message Date
27280e8d45 v1.3.16 2021-11-20 22:43:06 +00:00
8c5e12960d v1.3.15 2021-11-20 22:41:52 +00:00
849dc9b0ee v1.3.14 2021-11-20 22:39:09 +00:00

View File

@@ -22,6 +22,8 @@ build-docker:
build-binary:
stage: build-binary
only:
- tags
image: golang:1.17.3
before_script:
- cd $GOPATH/src
@@ -41,6 +43,9 @@ upload:
image: curlimages/curl:latest
rules:
- if: $CI_COMMIT_TAG
before_script:
- ls
- pwd
script:
- 'curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file iPilot-${CI_COMMIT_TAG}-darwin-amd64 "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/iPilot/${CI_COMMIT_TAG}/iPilot-${CI_COMMIT_TAG}-darwin-amd64"'
- 'curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file iPilot-${CI_COMMIT_TAG}-darwin-arm64 "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/iPilot/${CI_COMMIT_TAG}/iPilot-${CI_COMMIT_TAG}-darwin-arm64"'