Skip to content

Commit 1ffddb8

Browse files
committed
feat: simplify release process with bash commands
- Remove complex release-it setup - Add simple calendar versioning commands - Use GitHub CLI for automated releases
1 parent 4a40413 commit 1ffddb8

File tree

5 files changed

+21
-3041
lines changed

5 files changed

+21
-3041
lines changed

.gitignore

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1 @@
1-
node_modules/
2-
npm-debug.log*
3-
yarn-debug.log*
4-
yarn-error.log*
5-
pnpm-debug.log*
6-
.npm
7-
.env
8-
.env.local
9-
.env.development.local
10-
.env.test.local
11-
.env.production.local
1+
# No Node.js dependencies needed

CHANGELOG.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,23 @@ FROM beevelop/java:v2023.12.1
4242
### Use tags where possible, because...
4343

4444
![One does not simply use latest](https://i.imgflip.com/1fgwxr.jpg)
45+
46+
## Quick Release
47+
48+
Create a new release with calendar versioning (vYYYY.MM.MICRO):
49+
50+
```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
59+
```
60+
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+
```

package.json

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)