From 9a6c3e1d291b701072706da1e7695d323b40bdf8 Mon Sep 17 00:00:00 2001 From: Filipe Freire Date: Mon, 25 Sep 2023 00:53:25 +0100 Subject: [PATCH] fix release-start (#6557) --- .github/workflows/release-start.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-start.yml b/.github/workflows/release-start.yml index 13549ae52..a1fee6009 100644 --- a/.github/workflows/release-start.yml +++ b/.github/workflows/release-start.yml @@ -44,8 +44,13 @@ jobs: if: github.event.inputs.channel == 'stable' && github.event.inputs.version run: npm --workspaces version "${{ github.event.inputs.version }}" + # required for 8.0.0 beta + - name: App version (initial alpha/beta where we specify a new general version) + if: github.event.inputs.channel != 'stable' && github.event.inputs.version + run: npm --workspaces version "${{ github.event.inputs.version }}-${{ github.event.inputs.channel }}.0" + - name: App version (alpha/beta) - if: github.event.inputs.channel != 'stable' + if: github.event.inputs.channel != 'stable' && !github.event.inputs.version run: npm --workspaces version --preid "${{ github.event.inputs.channel }}" prerelease - name: Get version