From da0b54447c40d555abc86dcb38d6eaa7a41dc3d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 30 Sep 2023 11:21:04 +0200 Subject: [PATCH] also fix updating default.nix version for a release --- bin/create-release.sh | 2 +- default.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/create-release.sh b/bin/create-release.sh index cc2efce..ea0d6dd 100755 --- a/bin/create-release.sh +++ b/bin/create-release.sh @@ -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 . diff --git a/default.nix b/default.nix index b2a235d..ea3f7d7 100644 --- a/default.nix +++ b/default.nix @@ -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 ];