@@ -167,19 +167,17 @@ def getArchivableResults(self, use_relpath=True, single=False):
167
167
raise ValueError ('single not supported' )
168
168
169
169
if self .enterprise :
170
+ if not _suite .is_release ():
171
+ yield join (_suite .mxDir , 'DISCLAIMER_FOR_GFTC_SNAPSHOT_ARTIFACTS.txt' ), 'DISCLAIMER.txt'
170
172
if self .uses_enterprise_sources :
171
173
lium_suite = mx .suite ('lium' , fatalIfMissing = True , context = self )
172
174
vm_enterprise_dir = join (dirname (lium_suite .dir ), 'vm-enterprise' )
173
175
yield join (vm_enterprise_dir , 'GraalVM_GFTC_License.txt' ), 'LICENSE.txt'
174
176
yield from mx .distribution ('lium:LICENSE_INFORMATION_USER_MANUAL' ).getArchivableResults (use_relpath , single = True )
175
- if not mx .suite ('sdk' ).is_release ():
176
- yield join (vm_enterprise_dir , 'DISCLAIMER_FOR_SNAPSHOT_ARTIFACTS.txt' ), 'DISCLAIMER.txt'
177
177
else :
178
178
# If the only enterprise input is a bootstrap Oracle GraalVM then copy the license from there
179
179
yield join (_external_bootstrap_graalvm , 'LICENSE.txt' ), 'LICENSE.txt'
180
180
yield join (_external_bootstrap_graalvm , 'license-information-user-manual.zip' ), 'license-information-user-manual.zip'
181
- if not mx .suite ('sdk' ).is_release ():
182
- mx .warn ('Cannot find DISCLAIMER_FOR_SNAPSHOT_ARTIFACTS.txt, you should copy it yourself in the result' )
183
181
else :
184
182
yield join (self .suite .dir , self .community_license_file ), 'LICENSE.txt'
185
183
yield join (self .suite .dir , self .community_3rd_party_license_file ), '3rd_party_licenses.txt'
0 commit comments