Skip to content

Commit

Permalink
fetch correct version number using git describe in circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdoret committed Oct 6, 2020
1 parent 2083268 commit a92182f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
- image: circleci/golang:1.12
steps:
- checkout
- run: make release VERSION=${CIRCLE_TAG}
- run: make release VERSION=$(git describe)
- persist_to_workspace:
root: .
paths:
Expand Down Expand Up @@ -38,8 +38,6 @@ workflows:
filters:
branches:
only: release
tags:
only: /^v.*/
requires:
- build
- test

0 comments on commit a92182f

Please sign in to comment.