fix release-start (#6557)

This commit is contained in:
Filipe Freire 2023-09-25 00:53:25 +01:00 committed by GitHub
parent 6ef9a46814
commit 9a6c3e1d29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,8 +44,13 @@ jobs:
if: github.event.inputs.channel == 'stable' && github.event.inputs.version if: github.event.inputs.channel == 'stable' && github.event.inputs.version
run: npm --workspaces version "${{ 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) - 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 run: npm --workspaces version --preid "${{ github.event.inputs.channel }}" prerelease
- name: Get version - name: Get version