Skip to content

Commit

Permalink
create-release: fix updating pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Dec 17, 2024
1 parent c0a1d2b commit 5fff51b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/create-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand Down

0 comments on commit 5fff51b

Please sign in to comment.