Mise à jour de la version vers 0.3.3 #55
@@ -15,12 +15,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: ~/.npm
|
path: ~/.npm
|
||||||
key: dont-cache-${{ github.run_id }}
|
key: dont-cache-${{ github.run_id }}
|
||||||
|
|
||||||
- name: Extract version from Cargo.toml
|
|
||||||
run: |
|
|
||||||
grep '^version = ' PMOMusic/Cargo.toml | head -n 1 | sed 's/version = "\(.*\)"/\1/' > version.txt
|
|
||||||
echo "Version extracted: $(cat version.txt)"
|
|
||||||
|
|
||||||
- name: Build and push image
|
- name: Build and push image
|
||||||
uses: https://gargoton.petite-maison-orange.fr/pmo-actions/build-push-image@main
|
uses: https://gargoton.petite-maison-orange.fr/pmo-actions/build-push-image@main
|
||||||
with:
|
with:
|
||||||
|
|||||||
4
Makefile
4
Makefile
@@ -211,7 +211,7 @@ bump-version:
|
|||||||
@echo "$(GREEN)✓ Version mise à jour dans PMOMusic/Cargo.toml et version.txt$(NC)"
|
@echo "$(GREEN)✓ Version mise à jour dans PMOMusic/Cargo.toml et version.txt$(NC)"
|
||||||
|
|
||||||
## sync-version: Synchronise version.txt depuis PMOMusic/Cargo.toml
|
## sync-version: Synchronise version.txt depuis PMOMusic/Cargo.toml
|
||||||
sync-version:
|
version.txt: PMOMusic/Cargo.toml
|
||||||
@echo "$(YELLOW)→ Synchronisation de version.txt...$(NC)"
|
@echo "$(YELLOW)→ Synchronisation de version.txt...$(NC)"
|
||||||
@grep '^version = ' PMOMusic/Cargo.toml | head -n 1 | sed 's/version = "\(.*\)"/\1/' > version.txt
|
@grep '^version = ' PMOMusic/Cargo.toml | head -n 1 | sed 's/version = "\(.*\)"/\1/' > version.txt
|
||||||
@echo "$(GREEN)✓ version.txt synchronisé: $$(cat version.txt)$(NC)"
|
@echo "$(GREEN)✓ version.txt synchronisé: $$(cat version.txt)$(NC)"
|
||||||
@@ -237,7 +237,9 @@ jjnew:
|
|||||||
|
|
||||||
jjpush: bump-version
|
jjpush: bump-version
|
||||||
@echo "$(YELLOW)→ Push du commit sur le dépôt...$(NC)"
|
@echo "$(YELLOW)→ Push du commit sur le dépôt...$(NC)"
|
||||||
|
@echo "$(BLUE)→ Documentation du commit courrant...$(NC)"
|
||||||
@jj auto-describe
|
@jj auto-describe
|
||||||
|
@echo "$(BLUE)→ C'est fait.$(NC)"
|
||||||
@jj git push --change @
|
@jj git push --change @
|
||||||
@echo "$(GREEN)✓ Commit pushé sur le dépôt$(NC)"
|
@echo "$(GREEN)✓ Commit pushé sur le dépôt$(NC)"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "PMOMusic"
|
name = "PMOMusic"
|
||||||
version = "0.3.2"
|
version = "0.3.3"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
0.3.2
|
0.3.3
|
||||||
|
|||||||
Reference in New Issue
Block a user