From 89fc777f0dd215eed10e3773700cb5079318f537 Mon Sep 17 00:00:00 2001 From: hiento09 <136591877+hiento09@users.noreply.github.com> Date: Wed, 12 Feb 2025 18:01:18 +0700 Subject: [PATCH] fix: beta noti discord (#4640) --- .github/workflows/jan-electron-build-beta.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/jan-electron-build-beta.yml b/.github/workflows/jan-electron-build-beta.yml index 1b65e710b..4f9886010 100644 --- a/.github/workflows/jan-electron-build-beta.yml +++ b/.github/workflows/jan-electron-build-beta.yml @@ -63,7 +63,9 @@ jobs: steps: - name: Set version to environment variable run: | - echo "VERSION=${{ needs.get-update-version.outputs.new_version }}" >> $GITHUB_ENV + VERSION=${{ needs.get-update-version.outputs.new_version }} + VERSION="${VERSION#v}" + echo "VERSION=$VERSION" >> $GITHUB_ENV - name: Notify Discord uses: Ilshidur/action-discord@master