Merge pull request 'Mise à jour de la version vers 0.3.3' (#55) from push-prmxltxrnkml into main
All checks were successful
Build and Push Docker Image / build (push) Successful in 28m58s
All checks were successful
Build and Push Docker Image / build (push) Successful in 28m58s
Reviewed-on: #55
This commit was merged in pull request #55.
This commit is contained in:
@@ -15,12 +15,6 @@ jobs:
|
||||
with:
|
||||
path: ~/.npm
|
||||
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
|
||||
uses: https://gargoton.petite-maison-orange.fr/pmo-actions/build-push-image@main
|
||||
with:
|
||||
|
||||
4
Makefile
4
Makefile
@@ -211,7 +211,7 @@ bump-version:
|
||||
@echo "$(GREEN)✓ Version mise à jour dans PMOMusic/Cargo.toml et version.txt$(NC)"
|
||||
|
||||
## sync-version: Synchronise version.txt depuis PMOMusic/Cargo.toml
|
||||
sync-version:
|
||||
version.txt: PMOMusic/Cargo.toml
|
||||
@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)"
|
||||
@@ -237,7 +237,9 @@ jjnew:
|
||||
|
||||
jjpush: bump-version
|
||||
@echo "$(YELLOW)→ Push du commit sur le dépôt...$(NC)"
|
||||
@echo "$(BLUE)→ Documentation du commit courrant...$(NC)"
|
||||
@jj auto-describe
|
||||
@echo "$(BLUE)→ C'est fait.$(NC)"
|
||||
@jj git push --change @
|
||||
@echo "$(GREEN)✓ Commit pushé sur le dépôt$(NC)"
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "PMOMusic"
|
||||
version = "0.3.2"
|
||||
version = "0.3.3"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
|
||||
@@ -1 +1 @@
|
||||
0.3.2
|
||||
0.3.3
|
||||
|
||||
Reference in New Issue
Block a user