From c1bb956a7189b548736f7dd0aca365eac3d6e613 Mon Sep 17 00:00:00 2001 From: Alexandre Marcireau Date: Fri, 20 Oct 2023 15:43:33 +1100 Subject: [PATCH] Rename files and install local version --- .github/workflows/build_wheels.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 2ff1cab..f16db4b 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -51,7 +51,10 @@ jobs: with: name: wheelhouse path: wheelhouse - - run: python -m pip install --find-links wheelhouse colourtime + - run: ls wheelhouse # @DEV + - run: for file in wheelhouse/*.whl; do mv $file "$(printf "$file" | sed -r 's/^(colourtime)-(\d\.\d\.\d)-(.+)$/\1-\2+local-\3/')"; done + - run: ls wheelhouse # @DEV + - run: python -m pip install --find-links wheelhouse colourtime+local shell: bash - run: python -c 'import colourtime' build_sdist: