Skip to content

Commit bcec7ed

Browse files
committed
using outputs for build-zips
1 parent dbf5253 commit bcec7ed

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

ci/pipeline.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525

2626
- put: repo-github-release
2727
params:
28-
name: release-notes/repo/tmp/name
29-
body: release-notes/repo/tmp/notes.md
28+
name: release-notes/name
29+
body: release-notes/notes.md
3030
tag: repo/VERSION
3131
tag_prefix: v
32-
globs: [build-zip/*.zip]
32+
globs: [zips/*.zip]
3333

3434
- name: build-task-image
3535
public: true

ci/tasks/build-zip.sh renamed to ci/tasks/build-zips.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ cd repo
44

55
BUNDLE_GEMFILE=cf.Gemfile bundle install
66
BUNDLE_GEMFILE=cf.Gemfile bundle exec buildpack-packager --uncached
7+
8+
mkdir -p ../zips
9+
mv *.zip ../zips

ci/tasks/build-zip.yml renamed to ci/tasks/build-zips.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,8 @@ image: docker:///cfcommunity/pipeline-task-swift-buildpack
55
inputs:
66
- name: repo
77

8+
outputs:
9+
- name: zips
10+
811
run:
9-
path: repo/ci/tasks/build-zip.sh
12+
path: repo/ci/tasks/build-zips.sh

0 commit comments

Comments
 (0)