From 9423ba0589651cdb4351b85eff9fadf417bb0afc Mon Sep 17 00:00:00 2001 From: Massimiliano Adamo <massimiliano.adamo@geant.org> Date: Tue, 1 Jun 2021 19:23:31 +0200 Subject: [PATCH] upload windows version --- .gitlab-ci-psnc.yml | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/.gitlab-ci-psnc.yml b/.gitlab-ci-psnc.yml index 92a0c68..3882299 100644 --- a/.gitlab-ci-psnc.yml +++ b/.gitlab-ci-psnc.yml @@ -3,7 +3,7 @@ stages: - sonarqube - upload_linux_shell - upload_linux_amd64_binary - #- upload_windows_amd64_binary + - upload_windows_amd64_binary variables: ARTIFACTORY_BASE_URL: https://artifactory.software.geant.org/artifactory/acme-downloader @@ -43,14 +43,13 @@ upload_linux_amd64_binary: tags: - visnu_shell -#upload_windows_amd64_binary: -# stage: upload_windows_amd64_binary -# only: -# - tags -# - branches -# script: -# - ./build.sh --os=windows --arch=amd64 --version=$CI_COMMIT_TAG --upx -# - 'curl -sSf -H "X-JFrog-Art-Api:${ARTIFACTORY_TOKEN}" -X PUT -T ./acme-downloader ${ARTIFACTORY_BASE_URL}/${ARTIFACT_NAME}_windows_amd64.exe' -# tags: -# - visnu_shell - +upload_windows_amd64_binary: + stage: upload_windows_amd64_binary + only: + - tags + - branches + script: + - ./build.sh --os=windows --arch=amd64 --version=$CI_COMMIT_TAG --upx + - 'curl -sSf -H "X-JFrog-Art-Api:${ARTIFACTORY_TOKEN}" -X PUT -T ./acme-downloader.exe ${ARTIFACTORY_BASE_URL}/${ARTIFACT_NAME}_windows_amd64.exe' + tags: + - visnu_shell -- GitLab