Archived
docs: update CI/CD and releasing docs for Maven build system
Updates documentation to reflect the actual Maven-based build: - pom.xml instead of gradle.properties for version - mvn commands instead of gradlew - Updated build workflow examples Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
767a941ac3
commit
92c586152b
2 files changed
+28
-26
No files matched your search
+8
-8
@@ -30,10 +30,10 @@ For pre-release testing:
|
||||
|
||||
## Version Location
|
||||
|
||||
The version is defined in `gradle.properties`:
|
||||
The version is defined in `pom.xml`:
|
||||
|
||||
```properties
|
||||
version=1.2.3
|
||||
```xml
|
||||
<version>1.2.3</version>
|
||||
```
|
||||
|
||||
This version is embedded in the binary and available via `barn --version`.
|
||||
@@ -102,15 +102,15 @@ Ensure all changes are merged to `main` and tests pass:
|
||||
```bash
|
||||
git checkout main
|
||||
git pull origin main
|
||||
./gradlew clean test
|
||||
mvn clean verify
|
||||
```
|
||||
|
||||
### 2. Update Version
|
||||
|
||||
Edit `gradle.properties`:
|
||||
Edit the `<version>` tag in `pom.xml`:
|
||||
|
||||
```properties
|
||||
version=1.2.3
|
||||
```xml
|
||||
<version>1.2.3</version>
|
||||
```
|
||||
|
||||
### 3. Update Changelog
|
||||
@@ -131,7 +131,7 @@ Move items from `[Unreleased]` to the new version section:
|
||||
### 4. Commit the Release
|
||||
|
||||
```bash
|
||||
git add gradle.properties CHANGELOG.md
|
||||
git add pom.xml CHANGELOG.md
|
||||
git commit -m "Release v1.2.3"
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user