Skip to content
This repository was archived by the owner on Feb 12, 2019. It is now read-only.

Commit 5573b12

Browse files
committed
Add bumpversion for releases
1 parent 061351d commit 5573b12

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.bumpversion.cfg

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[bumpversion]
2+
current_version = 0.4.2
3+
commit = True
4+
tag = True
5+
message = Release {new_version}
6+
7+
[bumpversion:file:Dockerfile]
8+
search = ENV RELEASE_TAG v{current_version}
9+
replace = ENV RELEASE_TAG v{new_version}
10+
11+
[bumpversion:file:archlinux/PKGBUILD]
12+
search = {current_version}
13+
replace = {new_version}

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,14 @@ $ du -h solc soltest
3030
3.0M solc
3131
5.8M soltest
3232
```
33+
34+
## Create a release
35+
36+
Use [bumpversion](https://github.com/peritus/bumpversion) to bump version strings to newest upstream version, then push
37+
the newly created commit and tag:
38+
39+
```bash
40+
# Example from 0.4.2 -> 0.4.3
41+
bumpversion patch
42+
git push && git push --tags
43+
```

0 commit comments

Comments
 (0)