Skip to content

Commit

Permalink
Merge pull request #12 from screwdriver-cd/versionUp
Browse files Browse the repository at this point in the history
Use lightweight tags instead of annotated tags
  • Loading branch information
nkatzman authored Jul 27, 2016
2 parents 47c6047 + 6e62e26 commit 1653f6c
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions wercker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,13 @@ deploy:
fingerprint: 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48
type: rsa

- script:
name: update tags
code: git fetch --tags

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

- script:
name: add new annotated tag
code: git tag -a $VERSION -m "Tagging release version $VERSION"
name: add new tag
code: git tag $VERSION

- script:
name: push newly added tag
Expand Down

0 comments on commit 1653f6c

Please sign in to comment.