Skip to content

Commit

Permalink
Use better error message
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwellmattryan committed Nov 15, 2024
1 parent 8f3ee59 commit d07be95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,12 @@ jobs:
- name: Check Tag & Version
run: |
if [[ ! $PLUGIN_VERSION =~ $VERSION ]]; then
echo "The specific plugin version and tag-derived version do not match. Exiting."
echo "The plugin version specified in this workflow and tag-derived version do not match. Exiting."
exit 1
fi
if [[ $PLUGIN_VERSION != "production" ]] && [[ ! $PLUGIN_VERSION =~ $STAGE ]]; then
echo "The specific plugin version stage and tag-derived version stage do not match. Exiting."
echo "The plugin version stage specified in this workflow and tag-derived version stage do not match. Exiting."
exit 1
fi
Expand Down

0 comments on commit d07be95

Please sign in to comment.