Skip to content

Commit

Permalink
refactor: take build version dynamically for clean build test
Browse files Browse the repository at this point in the history
  • Loading branch information
narenaryan committed Jan 14, 2025
1 parent 2fbced5 commit 92c367c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion clean_build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
rm -rf dist
pip uninstall -q --exists-action=w whispr
hatch build
pip install -q dist/whispr-$1-py3-none-any.whl
VER=$(ls ./dist/*.whl | sed 's/.*-\([0-9.]*\)-.*/\1/')
echo $VAR
pip install -q dist/whispr-${VER}-py3-none-any.whl

0 comments on commit 92c367c

Please sign in to comment.