Mise à jour de la version et synchronisation du fichier version.txt #54

Merged
eric merged 1 commits from push-qpnykqxpynuq into main 2026-01-11 16:32:49 +01:00
3 changed files with 11 additions and 3 deletions

View File

@@ -206,8 +206,15 @@ bump-version:
new_version="$$major.$$minor.$$new_patch"; \
echo " Nouvelle version: $$new_version"; \
sed -i.bak "s/^version = \"$$current\"/version = \"$$new_version\"/" PMOMusic/Cargo.toml && \
rm PMOMusic/Cargo.toml.bak
@echo "$(GREEN)✓ Version mise à jour dans PMOMusic/Cargo.toml$(NC)"
rm PMOMusic/Cargo.toml.bak && \
echo "$$new_version" > version.txt
@echo "$(GREEN)✓ Version mise à jour dans PMOMusic/Cargo.toml et version.txt$(NC)"
## sync-version: Synchronise version.txt depuis PMOMusic/Cargo.toml
sync-version:
@echo "$(YELLOW)→ Synchronisation de version.txt...$(NC)"
@grep '^version = ' PMOMusic/Cargo.toml | head -n 1 | sed 's/version = "\(.*\)"/\1/' > version.txt
@echo "$(GREEN)✓ version.txt synchronisé: $$(cat version.txt)$(NC)"
## bench: Exécute les benchmarks
bench:

View File

@@ -1,6 +1,6 @@
[package]
name = "PMOMusic"
version = "0.3.1"
version = "0.3.2"
edition = "2024"
[dependencies]

1
version.txt Normal file
View File

@@ -0,0 +1 @@
0.3.2