also fix updating default.nix version for a release

This commit is contained in:
Jörg Thalheim 2023-09-30 11:21:04 +02:00 committed by mergify[bot]
parent 99c347264b
commit da0b54447c
2 changed files with 2 additions and 2 deletions

View File

@ -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 .

View File

@ -4,7 +4,7 @@
pkgs.python311.pkgs.buildPythonApplication {
pname = "nix-update";
version = "0.19.3";
version = "1.0.0";
src = ./.;
format = "pyproject";
buildInputs = [ pkgs.makeWrapper ];