We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21c7e2a commit 93dad7bCopy full SHA for 93dad7b
.github/workflows/publish.yaml
@@ -47,6 +47,7 @@ jobs:
47
id: npm-tag
48
shell: bash
49
run: |
50
+ set -e
51
VERSION="${{ steps.get-version.outputs.VERSION }}"
52
53
# Extract the release channel (latest, alpha, beta, rc)
@@ -61,7 +62,8 @@ jobs:
61
62
RELEASE_CHANNEL="latest"
63
fi
64
else
- RELEASE_CHANNEL="latest"
65
+ echo "::error title=Invalid Version::Encountered unexpected version ${{ steps.get-version.outputs.VERSION }}, cannot proceed!"
66
+ exit 1
67
68
69
echo "RELEASE_CHANNEL=${RELEASE_CHANNEL}" >> "$GITHUB_OUTPUT"
0 commit comments