Skip to content

Commit 5813070

Browse files
committed
fix: Release zip was missing nested grafana-k8s-app directory which caused failure when installing from zip
1 parent 0f39cc7 commit 5813070

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -143,16 +143,16 @@ jobs:
143143
144144
- name: Bundle release archive
145145
if: steps.release.outputs.release_created
146-
working-directory: ./dist
147146
run: |
148-
zip -r grafana-k8s-app-v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}.zip ./*
147+
cp -r dist ./grafana-k8s-app
148+
zip -r grafana-k8s-app-v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}.zip ./grafana-k8s-app
149149
150150
- name: Upload release assets
151151
if: steps.release.outputs.release_created
152152
env:
153153
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
154154
run: |
155-
gh release upload v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }} ./dist/grafana-k8s-app-v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}.zip
155+
gh release upload v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }} ./grafana-k8s-app-v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}.zip
156156
157157
- name: Log in to the Container registry
158158
if: steps.release.outputs.release_created

0 commit comments

Comments
 (0)