Skip to content

Commit

Permalink
Fix version checker
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulthran committed Jan 31, 2024
1 parent b078551 commit 2be3cbb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ jobs:
- name: Check version
run: |
GITHUB_VERSION=${{ steps.get_version.outputs.version-without-v }}
if [[ $LIBRARY_VERSION == env.GIT_VERSION ]] && [[ env.GIT_VERSION == env.TAR_VERSION ]]; then
if [[ $LIBRARY_VERSION == ${{ env.GIT_VERSION }} ]] && [[ ${{ env.GIT_VERSION }} == ${{ env.TAR_VERSION }} ]]; then
echo "Versions match, continuing..."
else
echo "Versions don't match, exiting..."
echo "Library version: $LIBRARY_VERSION"
echo "GitHub version: env.GIT_VERSION"
echo "Tarball version: env.TAR_VERSION"
echo "Library version: ${LIBRARY_VERSION}"
echo "GitHub version: ${{ env.GIT_VERSION }}"
echo "Tarball version: ${{ env.TAR_VERSION }}"
exit 1
fi
Expand Down

0 comments on commit 2be3cbb

Please sign in to comment.