From df951db44fc0fe04d08eb35a2861e3a6caca3e9d Mon Sep 17 00:00:00 2001 From: Reuben Miller Date: Mon, 18 Mar 2024 17:21:28 +0100 Subject: [PATCH] ci: add UI version to filename of ui package --- .github/workflows/release.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 960d19a..61f5b40 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -36,9 +36,10 @@ jobs: - name: Build and zip UI-Plugin run : | cd ./ui + UI_VERSION=$(jq -r .version package.json) npm run build-ci cd dist/apps/tedge-container-plugin-ui - zip -r -q ../../../../dist/tedge-container-plugin-ui.zip * + zip -r -q "../../../../dist/tedge-container-plugin-ui_${UI_VERSION}.zip" * - name: Upload artifacts uses: actions/upload-artifact@v4 with: