Skip to content

Commit

Permalink
build: update version in setup.cfg during generate
Browse files Browse the repository at this point in the history
  • Loading branch information
TheUnderScorer committed Oct 14, 2024
1 parent 573ce94 commit d608efa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ platform=$(uname)
(
if [ "$platform" = "Darwin" ]; then
sed -i '' "s/^VERSION = '[^']*'/VERSION = '${VERSION}'/" "./test/test_fingerprint_api.py"
sed -i '' "s/^version = [^']*/version = ${VERSION}/" "./setup.cfg"
else
sed -i "s/^VERSION = '[^']*'/VERSION = '${VERSION}'/" "./test/test_fingerprint_api.py"
sed -i "s/^version = [^']*/version = ${VERSION}/" "./setup.cfg"
fi
)

0 comments on commit d608efa

Please sign in to comment.