Skip to content

Commit 6204e24

Browse files
committed
Hardcode our PyPI repo
Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent e7786fe commit 6204e24

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

etc/release/scancode-create-release.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ PYTHON_APP_DOT_VERSIONS="3.6 3.7 3.8 3.9"
2121

2222
PYTHON_PYPI_TESTS_DOT_VERSIONS="3.6 3.7 3.8 3.9"
2323

24+
PYPI_LINKS=https://thirdparty.aboutcode.org/pypi
25+
2426
OPERATING_SYSTEMS="linux macos windows"
2527

2628
QUIET=""
@@ -272,9 +274,9 @@ function build_app_archive {
272274
mkdir -p thirdparty
273275

274276
if [ "$operating_system" == "windows" ]; then
275-
echo -n "py -$python_app_dot_version">PYTHON_EXECUTABLE
277+
echo -n "py -$python_app_dot_version" > PYTHON_EXECUTABLE
276278
else
277-
echo -n "python$python_app_dot_version">PYTHON_EXECUTABLE
279+
echo -n "python$python_app_dot_version" > PYTHON_EXECUTABLE
278280
fi
279281

280282
# 1. Collect thirdparty deps only for the subset for this Python/operating_system
@@ -339,7 +341,7 @@ if [ "$CLI_ARGS" != "--continue" ]; then
339341

340342
echo "## RELEASE: Clean and configure, then regen license index"
341343
./configure --clean
342-
PYPI_LINKS=$PYPI_LINKS ./configure --local
344+
./configure --local
343345
source bin/activate
344346
scancode --reindex-licenses
345347

0 commit comments

Comments
 (0)