From 8ce43a2860426afd349ce6ca783902f7bf760733 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 24 Dec 2024 08:12:04 +0100 Subject: [PATCH] release-script: fix regex --- scripts/create-release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/create-release.sh b/scripts/create-release.sh index 42c8e454..02cecf8f 100755 --- a/scripts/create-release.sh +++ b/scripts/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}\"!" src/default.nix +sed -i -e "s!version = \".*\";!version = \"${version}\"!" src/default.nix git add src/default.nix nix-shell -p nix-fast-build --command "nix-fast-build --eval-workers 2" git commit -m "bump version ${version}"