Skip to content

Commit 0e08647

Browse files
committed
feat: add universal bocker-release command
- Replace local release script with universal bocker-release tool - Update documentation to reflect new command - Command works across all beevelop/docker-* repositories
1 parent 1ffddb8 commit 0e08647

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

README.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -43,22 +43,24 @@ FROM beevelop/java:v2023.12.1
4343

4444
![One does not simply use latest](https://i.imgflip.com/1fgwxr.jpg)
4545

46-
## Quick Release
46+
## Automated Release
4747

48-
Create a new release with calendar versioning (vYYYY.MM.MICRO):
48+
Create a new release with calendar versioning (vYYYY.MM.MICRO) using the universal Bocker Release tool:
4949

5050
```bash
51-
# Create and push tag
52-
git tag "v$(date +"%Y.%m").$(($(git tag -l "v$(date +"%Y.%m").*" | wc -l)+1))" && git push origin --tags
53-
54-
# Create GitHub release with auto-generated notes
55-
gh release create "v$(date +"%Y.%m").$(($(git tag -l "v$(date +"%Y.%m").*" | wc -l)+1))" --generate-notes
56-
57-
# Open the release page in browser
58-
gh release view "v$(date +"%Y.%m").$(($(git tag -l "v$(date +"%Y.%m").*" | wc -l)+1))" --web
51+
bocker-release
5952
```
6053

61-
Or run all at once:
62-
```bash
63-
TAG="v$(date +"%Y.%m").$(($(git tag -l "v$(date +"%Y.%m").*" | wc -l)+1))" && git tag $TAG && git push origin --tags && gh release create $TAG --generate-notes && gh release view $TAG --web
64-
```
54+
**What the command does:**
55+
1. 🔍 Auto-detects Docker image name from repository (docker-java → beevelop/java)
56+
2. 🏷️ Generates new calendar version tag (e.g., v2025.08.1)
57+
3. 📝 Updates all version references in README.md automatically
58+
4. 💾 Creates conventional commit with README changes
59+
5. 🚀 Creates and pushes the new tag
60+
6. 🎉 Creates GitHub release with auto-generated notes
61+
7. 🌐 Opens release page in browser
62+
63+
**Requirements:**
64+
- Clean working directory (no uncommitted changes)
65+
- GitHub CLI (`gh`) installed and authenticated
66+
- Works with any `beevelop/docker-*` repository

0 commit comments

Comments
 (0)