diff --git a/bin/create-release.sh b/bin/create-release.sh index 4ca1453..92d3c15 100755 --- a/bin/create-release.sh +++ b/bin/create-release.sh @@ -28,7 +28,8 @@ if [[ $unpushed_commits != "" ]]; then echo -e "\nThere are unpushed changes, exiting:\n$unpushed_commits" >&2 exit 1 fi -sed -i -e "s!version = \".*\"\$!version = \"${version}\"!" pyproject.toml default.nix +sed -i -e "s!^version = \".*\"\$!version = \"${version}\"!" pyproject.toml +sed -i -e "s!version = \".*\"\$!version = \"${version}\"!" default.nix git add pyproject.toml default.nix nix flake check -vL nix develop -c pytest -s .