Skip to content

Commit df7a459

Browse files
author
Christian Kniep
committed
add bumpversion
1 parent 57db354 commit df7a459

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.bumpversion.cfg

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[bumpversion]
2+
current_version = 0.0.0
3+
commit = True
4+
tag = True
5+
6+
[bumpversion:file:cmd/query-regions/main.go]
7+
search = fmt.Println(`v{current_version}`)
8+
replace = fmt.Println(`v{new_version}`)

cmd/query-regions/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ func (rq *RegQuery) queryRegions(inst string) (err error) {
3434
debug := false
3535
if os.Getenv("DEBUG") != "" {
3636
debug = true
37+
fmt.Println(`v0.0.0`)
3738
}
3839
regs := sets.Empty()
3940
svc := ec2.New(rq.sess)

0 commit comments

Comments
 (0)