Skip to content

Commit

Permalink
Added printing of release notes during rc task
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisjbell authored and jhunt committed Mar 14, 2018
1 parent a85c4c4 commit 69862da
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions boshrelease/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,41 @@ jobs:

- name: rc
public: true
serial: true
plan:
- do:
- aggregate:
- { get: git, trigger: true, passed: [testflight] }
- { get: version, trigger: true, params: {pre: rc} }
- task: release-notes
config:
platform: linux
image_resource:
type: docker-image
source:
repository: (( grab meta.image.name ))
tag: (( grab meta.image.tag ))
inputs:
- { name: git }
run:
path: sh
args:
- -ce
- |
cd git
if [ -f ci/release_notes.md ]; then
echo "###### RELEASE NOTES ###############"
echo
cat ci/release_notes.md
echo
echo "########################################"
echo
else
echo "NO RELEASE NOTES HAVE BEEN WRITTEN"
echo "You *might* want to do that before"
echo "hitting (+) on that shipit job..."
echo
fi
- put: version
params: {file: version/number}
on_failure:
Expand Down

0 comments on commit 69862da

Please sign in to comment.