mirror of
https://github.com/Mic92/nix-update.git
synced 2024-10-05 14:28:30 +03:00
create-release: make sed regex more strict
This commit is contained in:
parent
36ffca82d2
commit
da997c87c7
@ -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 .
|
||||
|
Loading…
Reference in New Issue
Block a user