From 5308f69b4e40724391497c905100fef81d89417f Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Sat, 27 May 2023 16:42:48 -0500 Subject: [PATCH] fix: use the correct file name --- scripts/bump-dev.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/bump-dev.sh b/scripts/bump-dev.sh index 27273bf..f565e50 100755 --- a/scripts/bump-dev.sh +++ b/scripts/bump-dev.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash TAG=$(git describe --tags --always --dirty=-dev) VERSION="${TAG#v}" -if [[ "$(git diff --name-only HEAD HEAD~1)" == *"./src/viv/viv.py"* ]]; then +if [[ "$(git diff --name-only HEAD HEAD~1)" == *"src/viv/viv.py"* ]]; then sed -i "s/__version__ = \".*\"/__version__ = \"$VERSION\"/g" src/viv/viv.py fi