From d8e5f6a3a2b7d4ce619efb068b115cc052270d1b Mon Sep 17 00:00:00 2001 From: warrensbox Date: Tue, 2 Apr 2024 02:34:53 -0700 Subject: [PATCH] fix condition --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 46248203..26bf2b53 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: run: | echo "Semantic Version: ${{ github.event.inputs.name }}" VERSION=${{ github.event.inputs.name }} - if [ "$VERSION" != "major" ] || [ "$VERSION" != "minor" ] || [ "$VERSION" != "patch" ]; then + if [ "$VERSION" != "major" ] && [ "$VERSION" != "minor" ] && [ "$VERSION" != "patch" ]; then echo "Error: Provided input string must be 'major', 'minor', or 'patch'" exit 1 fi