Skip to content

Commit

Permalink
Move versioning to its own group, add patch bump
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisjbell authored and jhunt committed Mar 14, 2018
1 parent 02784a7 commit be514b0
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions boshrelease/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,11 @@ groups:
- testflight-pr
- rc
- shipit
- name: versioning
jobs:
- major
- minor
- patch

jobs:
- name: testflight
Expand Down Expand Up @@ -264,6 +267,20 @@ jobs:
icon_url: (( grab meta.slack.icon ))
text: '(( concat meta.slack.fail_url " " meta.pipeline ": minor job failed" ))'

- name: patch
public: true
plan:
- do:
- { get: version, trigger: false, params: {bump: patch} }
- { put: version, params: {file: version/number} }
on_failure:
put: notify
params:
channel: (( grab meta.slack.channel ))
username: (( grab meta.slack.username ))
icon_url: (( grab meta.slack.icon ))
text: '(( concat meta.slack.fail_url " " meta.pipeline ": patch job failed" ))'

- name: major
public: true
plan:
Expand Down

0 comments on commit be514b0

Please sign in to comment.