Skip to content

Commit

Permalink
create-release: make sed regex more strict
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 authored and mergify[bot] committed Jan 16, 2024
1 parent 36ffca8 commit da997c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/create-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand Down

0 comments on commit da997c8

Please sign in to comment.