diff options
author | Brad King <brad.king@kitware.com> | 2023-02-28 15:58:47 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-02-28 18:39:52 (GMT) |
commit | 7c60a2625d8940cff786e6c6d432fca3fedacc00 (patch) | |
tree | fc1a4d84f9229b0461fb891811bcf141062a3dd4 /.gitlab/rules.yml | |
parent | fc8a9818935d69368bf13901dc9f043067054b70 (diff) | |
download | CMake-7c60a2625d8940cff786e6c6d432fca3fedacc00.zip CMake-7c60a2625d8940cff786e6c6d432fca3fedacc00.tar.gz CMake-7c60a2625d8940cff786e6c6d432fca3fedacc00.tar.bz2 |
gitlab-ci: Optionally upload release packages to custom URL
Diffstat (limited to '.gitlab/rules.yml')
-rw-r--r-- | .gitlab/rules.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitlab/rules.yml b/.gitlab/rules.yml index f530622..b85b728 100644 --- a/.gitlab/rules.yml +++ b/.gitlab/rules.yml @@ -72,6 +72,10 @@ when: manual - if: '$CMAKE_CI_PACKAGE != null && $CI_JOB_STAGE != "upload"' when: on_success + - if: '$CMAKE_CI_PACKAGE != null && $CI_JOB_STAGE == "upload" && $CMAKE_CI_PACKAGE_URL != null' + variables: + RSYNC_DESTINATION: "$CMAKE_CI_PACKAGE_URL" + when: on_success - when: never .run_cmake_org_help: |