Skip to content

Commit d87e44f

Browse files
committed
Add manifest.json to release artifacts
1 parent f67a468 commit d87e44f

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/docker_release.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,21 @@ jobs:
107107
UI_RELEASE=${{ steps.manifest.outputs.UI_RELEASE }}
108108
BUILD_VERSION=${{ steps.build_tag_generator.outputs.RELEASE_TAG }}
109109
GIT_REF=${{ github.ref }}
110+
111+
- name: Ensure manifest.json exists
112+
run: |
113+
if [ ! -f manifest.json ]; then
114+
echo "manifest.json not found in repo root - generating via manifestgen.sh"
115+
./manifestgen.sh || true
116+
fi
117+
118+
- name: Upload manifest.json to GitHub Release
119+
if: github.event_name == 'release'
120+
uses: actions/upload-release-asset@v1
121+
env:
122+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
123+
with:
124+
upload_url: ${{ github.event.release.upload_url }}
125+
asset_path: ./manifest.json
126+
asset_name: manifest.json
127+
asset_content_type: application/json

0 commit comments

Comments
 (0)