GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add bumpversion to automate changing version numbers in READMEs · guillept/java-sdk@346924b

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .bumpversion.cfg
  • RELEASE.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.bumpversion.cfg‎

Copy file name to clipboard
+20Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[bumpversion]
2+
current_version = 4.0.0
3+
4+
[bumpversion:file:README.md]
5+
[bumpversion:file:alchemy/README.md]
6+
[bumpversion:file:conversation/README.md]
7+
[bumpversion:file:discovery/README.md]
8+
[bumpversion:file:document-conversion/README.md]
9+
[bumpversion:file:language-translator/README.md]
10+
[bumpversion:file:natural-language-classifier/README.md]
11+
[bumpversion:file:natural-language-understanding/README.md]
12+
[bumpversion:file:personality-insights/README.md]
13+
[bumpversion:file:retrieve-and-rank/README.md]
14+
[bumpversion:file:speech-to-text/README.md]
15+
[bumpversion:file:text-to-speech/README.md]
16+
[bumpversion:file:tone-analyzer/README.md]
17+
[bumpversion:file:tradeoff-analytics/README.md]
18+
[bumpversion:file:visual-recognition/README.md]
19+
search = {current_version}
20+
replace = {new_version}
Collapse file

‎RELEASE.md‎

Copy file name to clipboardExpand all lines: RELEASE.md
+20-3Lines changed: 20 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,26 @@ If you are not familiar with Sonatype and/or the maven release process please re
1717

1818
### Release steps
1919

20-
1. Update `README.md` to include the new version number
20+
1. Update all READMEs to include the new version number
21+
22+
This can be done using [bumpversion]. If necessary, it can be installed with the following command:
23+
24+
```bash
25+
pip install bumpversion
26+
```
27+
28+
To then update all version numbers, simply run:
29+
30+
```bash
31+
bumpversion major|minor|patch
32+
```
33+
2134
1. Perform a release deployment to OSSRH (Staging) with:
2235

23-
`gradle release`
36+
```bash
37+
`gradle release`
38+
```
39+
40+
You will have to answer prompts for versions and tags. That will tag and commit a new version into your repository automatically.
2441

25-
You will have to answer prompts for versions and tags. That will tag and commit a new version into your repository automatically.
42+
[bumpversion]: https://pypi.python.org/pypi/bumpversion

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.