diff --git a/Cargo.toml b/Cargo.toml index d722f4f..9db1a73 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace.package] -version = "0.2.12" +version = "0.2.11" [workspace] resolver = "2" diff --git a/flake.nix b/flake.nix index 62b1eac..cde292d 100644 --- a/flake.nix +++ b/flake.nix @@ -56,7 +56,7 @@ frontendCargoDeps = rustPlatform.fetchCargoVendor { src = ./.; name = "trictrac-frontend-vendor"; - hash = "sha256-neJh0ZQGa5LNY8vBu3kYkM+ARkXOW/EHx8sPBOsWsgE="; + hash = "sha256-lapxu9R6s2ASGdpnU0dht4jxewQjbrXlAkpFf/GsK/Q="; }; in final.stdenv.mkDerivation { @@ -103,7 +103,7 @@ trictrac = with final; rustPlatform.buildRustPackage { pname = "trictrac"; - version = "0.2.12"; # trictrac-version + version = "0.2.11"; # trictrac-version src = ./.; nativeBuildInputs = [ pkg-config ]; diff --git a/justfile b/justfile index 1ac30e4..fe4e52e 100644 --- a/justfile +++ b/justfile @@ -6,12 +6,11 @@ # Usage: just bump 0.2.12 # After running, finish with: git flow release finish bump version: - git flow release start {{version}} sed -i '/^\[workspace\.package\]/,/^\[/{s/^version = ".*"/version = "{{version}}"/}' Cargo.toml sed -i 's/version = "[0-9.]*"; # trictrac-version/version = "{{version}}"; # trictrac-version/' flake.nix + git flow release start {{version}} git add Cargo.toml flake.nix git commit -m "chore: bump version to {{version}}" - git flow release start {{version}} @echo "Done. Finish with: git flow release finish {{version}}" doc: