Skip to content

Commit

Permalink
🔨(requirements/sigstore): add --prerelease=allow if using uv
Browse files Browse the repository at this point in the history
Signed-off-by: rjdbcm <[email protected]>
  • Loading branch information
rjdbcm committed Aug 16, 2024
1 parent 3c29987 commit 531176e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ozi/dist/sigstore/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@
# See LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
requirements = ['requirements.in']
extra_args = []
if get_option('compile-requirements-command')[0] == 'uv'
extra_args = ['--prerelease=allow']
endif
configure_file(
input: requirements,
output: 'requirements.txt',
command: [get_option('compile-requirements-command'), get_option('config-args-sigstore'), '-o', '@OUTPUT@', '@INPUT@']
command: [get_option('compile-requirements-command'), get_option('config-args-sigstore'), extra_args, '-o', '@OUTPUT@', '@INPUT@']
)

0 comments on commit 531176e

Please sign in to comment.