From 3b35d158fdf928790442810c840fbad14335c610 Mon Sep 17 00:00:00 2001
From: Rye Mutt <rye@alchemyviewer.org>
Date: Wed, 4 Jan 2023 19:33:18 -0500
Subject: [PATCH] Deploy internal build installers to different package store
 for ease of management

---
 .gitlab-ci.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a662c4ef215..19f33cab606 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -355,7 +355,9 @@ build:release:windows64:
     - $BuildChannelOneword = $BuildData.Channel.Replace(" ", "")
     - $PkgName = $BuildData.Channel.Replace(" ", "_")
     - $PkgVer = $BuildData.Version
-    - $UploadDestURL = "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/${PkgName}/${PkgVer}"
+    - $SetupUploadProjectID = "${CI_PROJECT_ID}"
+    - If ($env:PUBLIC_BUILD -eq 'FALSE') { $SetupUploadProjectID = "200" }
+    - $UploadDestURL = "${CI_API_V4_URL}/projects/${SetupUploadProjectID}/packages/generic/${PkgName}/${PkgVer}"
     - $UpdateDeployDestURL = "${CI_API_V4_URL}/projects/198/packages/generic/${BuildChannelOneword}"
     - >
         $UploadParams = @{
@@ -368,7 +370,6 @@ build:release:windows64:
     - If ($env:USE_SENTRY -eq 'TRUE') { sentry-cli releases new $BuildChannelVersion && sentry-cli releases set-commits --auto $BuildChannelVersion }
 
     - $DestStatus = "?select=package_file&status=default"
-    - If ($env:PUBLIC_BUILD -eq 'FALSE') { $DestStatus = "?select=package_file&status=hidden" }
 
     - Push-Location ./build-linux-64/
     -   Push-Location ./newview/
-- 
GitLab