Skip to content

Commit 73764a4

Browse files
authored
Fix issue with release channel publish action (#804)
* Fix issue with release channel publish action * Fix issue with release channel publish action * add --ensure-channel & --debug flag to publish release * remove previous code
1 parent 9c67c61 commit 73764a4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/actions/publish-release/action.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ runs:
9292
gsutil -h "Cache-Control:public,max-age=3600,s-maxage=3600" -m rsync -x "^index.yaml$" -d packages-selfhosted-charts/ "gs://${CHARTS_BUCKET}"
9393
gsutil -h "Cache-Control:public,max-age=180,s-maxage=30" cp packages-selfhosted-charts/index.yaml "gs://${CHARTS_BUCKET}"
9494
95+
9596
# Step 7: Upload to Replicated
9697
- name: Upload release to Replicated
9798
shell: bash
@@ -100,7 +101,9 @@ runs:
100101
REPLICATED_API_TOKEN: ${{ inputs.replicated-api-token }}
101102
run: |
102103
cp carto-${{ inputs.version }}*.tgz manifests/
103-
replicated release create -y --auto \
104+
replicated release create -y --yaml-dir manifests/ \
104105
--promote "${{inputs.replicated-channel}}" \
105106
--version "${{inputs.version}}" \
106-
--release-notes "${{ inputs.release-notes }}"
107+
--release-notes "${{ inputs.release-notes }}" \
108+
--ensure-channel \
109+
--debug

0 commit comments

Comments
 (0)