summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2023-09-11 15:29:32 -0400
committerNat Goodspeed <nat@lindenlab.com>2023-09-11 15:29:32 -0400
commitdb2953e5de12eb5eea347f4069be9c0ab015dcdb (patch)
tree0695d010bc378b0e11ba2e203e358bd9ba17289b /indra/newview
parent0d0dafc1be14d0c4b8cf7b02ac949182d1eb093c (diff)
SL-19242: Have to prefix upload-artifact exclude paths with pathname.
Diffstat (limited to 'indra/newview')
-rwxr-xr-xindra/newview/viewer_manifest.py15
1 files changed, 9 insertions, 6 deletions
diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py
index a5415bb4bc..1a8973ff84 100755
--- a/indra/newview/viewer_manifest.py
+++ b/indra/newview/viewer_manifest.py
@@ -500,12 +500,15 @@ class WindowsManifest(ViewerManifest):
# Find secondlife-bin.exe in the 'configuration' dir, then rename it to the result of final_exe.
self.path(src='%s/secondlife-bin.exe' % self.args['configuration'], dst=self.final_exe())
# Emit the whole app image as one of the GitHub step outputs.
- self.set_github_output('viewer_app',
- self.get_dst_prefix(), # whole app directory
- '!secondlife-bin.*', # except for this stuff
- '!*.bat',
- '!*.tar.bz2',
- '!*.nsi')
+ appbase = self.relpath(self.get_dst_prefix(), base=os.getcwd())
+ self.set_github_output('viewer_app', appbase,
+ # except for this stuff
+ *(('!' + os.path.join(appbase, pattern))
+ for pattern in (
+ 'secondlife-bin.*',
+ '*.bat',
+ '*.tar.bz2',
+ '*.nsi')))
with self.prefix(src=os.path.join(pkgdir, "VMP")):
# include the compiled launcher scripts so that it gets included in the file_list