Fix: Bump Update for 0.5.1

This commit is contained in:
Youwes09
2026-03-28 20:17:14 -05:00
parent eebd1b6446
commit e850cbac1e
4 changed files with 12 additions and 11 deletions
+3 -2
View File
@@ -18,7 +18,7 @@
perSystem = { system, lib, ... }:
let
version = "0.5.0";
version = "0.5.1";
pkgs = import inputs.nixpkgs {
inherit system;
@@ -149,7 +149,7 @@ EOF
bumpScript = pkgs.writeShellApplication {
name = "moku-bump";
runtimeInputs = with pkgs; [ gnused coreutils git ];
runtimeInputs = with pkgs; [ gnused coreutils git rustToolchain ];
text = ''
[[ $# -lt 1 ]] && { echo "Usage: nix run .#bump -- <version>"; exit 1; }
VERSION="$1"
@@ -160,6 +160,7 @@ EOF
"$REPO/src-tauri/Cargo.toml"
sed -i "s/version = \"[^\"]*\";/version = \"$VERSION\";/g" \
"$REPO/flake.nix"
(cd "$REPO/src-tauri" && cargo generate-lockfile)
echo "Bumped to $VERSION"
'';
};