Skip to content

Commit

Permalink
Just use 14.0.0 for the license
Browse files Browse the repository at this point in the history
  • Loading branch information
puremourning committed Sep 7, 2022
1 parent fbfa1e3 commit 708056a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions upload_clang.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,9 @@ def TemporaryDirectory( keep_temp ):

def DownloadClangLicense( version, destination ):
print( 'Downloading license...' )
request = requests.get(
'https://releases.llvm.org/{}.0.0/LICENSE.TXT'.format(
version.split( '.' )[ 0 ] ),
stream = True )
# We get the license from 14.0 as that's the last time it was published
request = requests.get( 'https://releases.llvm.org/14.0.0/LICENSE.TXT',
stream = True )
request.raise_for_status()

file_name = os.path.join( destination, 'LICENSE.TXT' )
Expand Down

0 comments on commit 708056a

Please sign in to comment.