fix(maven): skip pom.xml update when file does not exist
ci / vet, staticcheck, test, build (push) Successful in 3m3s
release / Build and publish release (push) Successful in 4m10s

If pom.xml (or the configured maven.pom_path) is absent, releaser now
logs a notice and proceeds to tag and push without failing. This makes
the tool usable in non-Maven projects. An os.Stat error that is not
ErrNotExist (e.g. permission denied) still surfaces as an error.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-07-07 00:33:57 +02:00
parent c92164eb37
commit 7fdf5ddcf3
4 changed files with 47 additions and 9 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
# releaser
![release](https://img.shields.io/badge/release-v0.4.1-blue.svg)
![release](https://img.shields.io/badge/release-v0.4.2-blue.svg)
A CI-friendly release automation tool for GitFlow workflows using Conventional Commits.