Skip to content

Commit

Permalink
Fix checking version.
Browse files Browse the repository at this point in the history
Signed-off-by: Caroline Russell <[email protected]>
  • Loading branch information
cerrussell authored Mar 2, 2024
1 parent 55e5483 commit 1b97e8c
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 @@ -38,7 +38,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
run: |
version=$(python3 -c 'from atom_tools.__init__ import __version__; print(f"refs/tags/v{__version__}")')
if $version != "${{ github.ref }}"; then
if "$version" != "${{ github.ref }}"; then
echo "Version in atom_tools.__init__.py has not been updated. $version != ${{ github.ref }}"
exit 1
fi
Expand Down

0 comments on commit 1b97e8c

Please sign in to comment.