Skip to content

Commit

Permalink
Attemp to 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 4840360 commit 63c0f0d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,9 @@ jobs:
GITHUB_TAG="${{ steps.metadata.outputs.github-tag }}"
echo "Plugin version: $PLUGIN_VERSION"
echo "GitHub tag: $GITHUB_TAG"
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
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.plugin-version }}" != "${{ steps.metadata.outputs.github-tag }}" ]; then printf "\033[0;31mPlugin version doesn't match tag name\033[0m\n"; exit 1; fi

- name: Package plugin
id: package-plugin
Expand Down

0 comments on commit 63c0f0d

Please sign in to comment.