diff --git a/.gitea/workflows/build-push.yaml b/.gitea/workflows/build-push.yaml index cee2ff8b..417f0c3c 100644 --- a/.gitea/workflows/build-push.yaml +++ b/.gitea/workflows/build-push.yaml @@ -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: diff --git a/Makefile b/Makefile index 02ebacca..3aaf0570 100644 --- a/Makefile +++ b/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)" diff --git a/PMOMusic/Cargo.toml b/PMOMusic/Cargo.toml index cf1a30e5..3a2d9b41 100644 --- a/PMOMusic/Cargo.toml +++ b/PMOMusic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "PMOMusic" -version = "0.3.2" +version = "0.3.3" edition = "2024" [dependencies] diff --git a/version.txt b/version.txt index d15723fb..1c09c74e 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.3.2 +0.3.3