Skip to content

Commit

Permalink
Packaging script supports variations of ubuntu-version
Browse files Browse the repository at this point in the history
  • Loading branch information
negrutiu committed Dec 14, 2024
1 parent 849161a commit ba1f516
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nsis_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ def build_nsis_package(

outdir = None
for srcre, dstdir in [
[r'^.+-ubuntu-latest-x86-gcc$', distro_x86_dir],
[r'^.+-ubuntu-latest-amd64-gcc$', distro_amd64_dir],
[r'^.+-windows-latest-x86-gcc$', windows_x86_dir],
[r'^.+-windows-latest-amd64-gcc$', windows_amd64_dir]
[r'^.+-ubuntu-[\w\.]+-x86-gcc$', distro_x86_dir],
[r'^.+-ubuntu-[\w\.]+-amd64-gcc$', distro_amd64_dir],
[r'^.+-windows-[\w\.]+-x86-gcc$', windows_x86_dir],
[r'^.+-windows-[\w\.]+-amd64-gcc$', windows_amd64_dir]
]:
if re.match(srcre, dir):
outdir = dstdir
Expand Down

0 comments on commit ba1f516

Please sign in to comment.