Skip to content

Commit

Permalink
Further fix Check package version
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBelton-gov committed Dec 4, 2023
1 parent 63c0f0d commit e49b1fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ jobs:
GITHUB_TAG="${{ steps.metadata.outputs.github-tag }}"
echo "Plugin version: $PLUGIN_VERSION"
echo "GitHub tag: $GITHUB_TAG"
if [ "v${{ steps.metadata.outputs.github-tag }}" != "main" ]; then printf "\033[0;31mPlugin version doesn't match tag name\033[0m\n"; exit 1; fi
if [ "v${{ steps.metadata.outputs.github-tag }}" != "vmain" ]; then printf "\033[0;31mPlugin version doesn't match tag name\033[0m\n"; exit 1; fi
# if [ "v${{ steps.metadata.outputs.plugin-version }}" != "${{ steps.metadata.outputs.github-tag }}" ]; then printf "\033[0;31mPlugin version doesn't match tag name\033[0m\n"; exit 1; fi

Expand Down

0 comments on commit e49b1fc

Please sign in to comment.