From d608efa03750a7fcf39d21f17a4eab65a9482654 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20=C5=BBydek?= Date: Mon, 14 Oct 2024 15:07:58 +0200 Subject: [PATCH] build: update version in setup.cfg during generate --- generate.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/generate.sh b/generate.sh index b85ead98..22777c8f 100755 --- a/generate.sh +++ b/generate.sh @@ -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 )