mirror of
https://github.com/Mic92/nix-update.git
synced 2024-08-15 21:50:30 +03:00
also fix updating default.nix version for a release
This commit is contained in:
parent
99c347264b
commit
da0b54447c
@ -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 .
|
||||
|
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user