Skip to content

Commit a92182f

Browse files
committed
fetch correct version number using git describe in circleci
1 parent 2083268 commit a92182f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.circleci/config.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
- image: circleci/golang:1.12
66
steps:
77
- checkout
8-
- run: make release VERSION=${CIRCLE_TAG}
8+
- run: make release VERSION=$(git describe)
99
- persist_to_workspace:
1010
root: .
1111
paths:
@@ -38,8 +38,6 @@ workflows:
3838
filters:
3939
branches:
4040
only: release
41-
tags:
42-
only: /^v.*/
4341
requires:
4442
- build
4543
- test

0 commit comments

Comments
 (0)