Skip to content

Commit

Permalink
[ci] need separate task for prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisjbell committed Nov 11, 2022
1 parent 21eb36a commit bd4ce91
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ci/pipeline/jobs/ship-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- { get: git-ci }

- task: ship-prerelease
file: git-ci/ci/tasks/release.yml
file: git-ci/ci/tasks/prerelease.yml
params:
PRERELEASE: 1
DEVELOP_BRANCH: (( grab meta.github.branch ))
Expand Down
30 changes: 30 additions & 0 deletions ci/tasks/prerelease.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
platform: linux

image_resource:
type: registry-image
source:
repository: starkandwayne/genesis-ci

inputs:
- name: version
- name: git
- name: git-ci
- name: build
- name: release-notes
optional: true

outputs:
- name: notifications
- name: gh

params:
DEVELOP_BRANCH: develop
RELEASE_BRANCH: main
REPO_ROOT: git
RELEASE_REPO_ROOT: git-main
RELEASE_ROOT: gh
NOTIFICATION_OUT: notifications

run:
path: git-ci/ci/scripts/release

0 comments on commit bd4ce91

Please sign in to comment.