Skip to content

Commit

Permalink
Merge pull request #6 from screwdriver-cd/fetchtags
Browse files Browse the repository at this point in the history
Fetching tags before attempting to bump the version
  • Loading branch information
jer authored Jul 26, 2016
2 parents 0d71253 + 259f580 commit 6cd7857
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wercker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ build:

deploy:
steps:
- script:
name: update tags
code: git fetch --tags
- script:
name: get highest version from tags
code: export VERSION=$(sh incrementVersion.sh)
Expand Down

0 comments on commit 6cd7857

Please sign in to comment.