From e0ab5cb6ecf3af549672804e01f62d39183a1699 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 16 Jan 2024 11:19:53 +0100 Subject: [PATCH] create-release: make sed regex more strict --- bin/create-release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/create-release.sh b/bin/create-release.sh index ea0d6dd..cc2efce 100755 --- a/bin/create-release.sh +++ b/bin/create-release.sh @@ -28,7 +28,7 @@ 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 default.nix git add pyproject.toml default.nix nix flake check -vL nix develop -c pytest -s .