Merge pull request 'Mise à jour de la version et synchronisation du fichier version.txt' (#54) from push-qpnykqxpynuq into main
Some checks failed
Build and Push Docker Image / build (push) Failing after 4m51s
Some checks failed
Build and Push Docker Image / build (push) Failing after 4m51s
Reviewed-on: #54
This commit was merged in pull request #54.
This commit is contained in:
11
Makefile
11
Makefile
@@ -206,8 +206,15 @@ bump-version:
|
|||||||
new_version="$$major.$$minor.$$new_patch"; \
|
new_version="$$major.$$minor.$$new_patch"; \
|
||||||
echo " Nouvelle version: $$new_version"; \
|
echo " Nouvelle version: $$new_version"; \
|
||||||
sed -i.bak "s/^version = \"$$current\"/version = \"$$new_version\"/" PMOMusic/Cargo.toml && \
|
sed -i.bak "s/^version = \"$$current\"/version = \"$$new_version\"/" PMOMusic/Cargo.toml && \
|
||||||
rm PMOMusic/Cargo.toml.bak
|
rm PMOMusic/Cargo.toml.bak && \
|
||||||
@echo "$(GREEN)✓ Version mise à jour dans PMOMusic/Cargo.toml$(NC)"
|
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: Exécute les benchmarks
|
||||||
bench:
|
bench:
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "PMOMusic"
|
name = "PMOMusic"
|
||||||
version = "0.3.1"
|
version = "0.3.2"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|||||||
1
version.txt
Normal file
1
version.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
0.3.2
|
||||||
Reference in New Issue
Block a user