From 9791034c7cd07cc75056ef6a8e58ef0ce6938356 Mon Sep 17 00:00:00 2001 From: Phil Jay Date: Sat, 31 Aug 2024 15:56:19 +1000 Subject: [PATCH] Improve + fix test --- .github/workflows/test-and-release.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-and-release.yml b/.github/workflows/test-and-release.yml index 647ca3f..bbf32de 100644 --- a/.github/workflows/test-and-release.yml +++ b/.github/workflows/test-and-release.yml @@ -78,7 +78,7 @@ jobs: - macos-latest - ubuntu-latest - windows-latest - fail-fast: true + fail-fast: false runs-on: ${{ matrix.os }} steps: - name: Checkout code # have to checkout to have the source code available @@ -126,8 +126,11 @@ jobs: shell: bash run: | [[ "${{ steps.version-prefix.outputs.current-version }}" == "0.0.0" ]] - [[ "${{ steps.version-prefix.outputs.version }}" == "0.0.1" ]] - [[ "${{ steps.version-prefix.outputs.prefixed-version }}" == "foo/bar@0.0.1" ]] + [[ "${{ steps.version-prefix.outputs.major-version }}" == "0" ]] + [[ "${{ steps.version-prefix.outputs.minor-version }}" == "0" ]] + [[ "${{ steps.version-prefix.outputs.patch-version }}" == "1" ]] + [[ "${{ steps.version-prefix.outputs.version }}" = "0.0.1-"* ]] + [[ "${{ steps.version-prefix.outputs.prefixed-version }}" = "foo/bar@0.0.1-"* ]] release: needs: