Merge branch 'release/0.2.12'

This commit is contained in:
Henri Bourcereau 2026-05-22 22:18:45 +02:00
commit 0f3c962d02
3 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
[workspace.package] [workspace.package]
version = "0.2.11" version = "0.2.12"
[workspace] [workspace]
resolver = "2" resolver = "2"

View file

@ -56,7 +56,7 @@
frontendCargoDeps = rustPlatform.fetchCargoVendor { frontendCargoDeps = rustPlatform.fetchCargoVendor {
src = ./.; src = ./.;
name = "trictrac-frontend-vendor"; name = "trictrac-frontend-vendor";
hash = "sha256-lapxu9R6s2ASGdpnU0dht4jxewQjbrXlAkpFf/GsK/Q="; hash = "sha256-neJh0ZQGa5LNY8vBu3kYkM+ARkXOW/EHx8sPBOsWsgE=";
}; };
in in
final.stdenv.mkDerivation { final.stdenv.mkDerivation {
@ -103,7 +103,7 @@
trictrac = with final; rustPlatform.buildRustPackage { trictrac = with final; rustPlatform.buildRustPackage {
pname = "trictrac"; pname = "trictrac";
version = "0.2.11"; # trictrac-version version = "0.2.12"; # trictrac-version
src = ./.; src = ./.;
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];

View file

@ -6,9 +6,9 @@
# Usage: just bump 0.2.12 # Usage: just bump 0.2.12
# After running, finish with: git flow release finish <version> # After running, finish with: git flow release finish <version>
bump version: bump version:
git flow release start {{version}}
sed -i '/^\[workspace\.package\]/,/^\[/{s/^version = ".*"/version = "{{version}}"/}' Cargo.toml sed -i '/^\[workspace\.package\]/,/^\[/{s/^version = ".*"/version = "{{version}}"/}' Cargo.toml
sed -i 's/version = "[0-9.]*"; # trictrac-version/version = "{{version}}"; # trictrac-version/' flake.nix 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 add Cargo.toml flake.nix
git commit -m "chore: bump version to {{version}}" git commit -m "chore: bump version to {{version}}"
@echo "Done. Finish with: git flow release finish {{version}}" @echo "Done. Finish with: git flow release finish {{version}}"