Skip to content

Commit

Permalink
fix grep expression in finish release
Browse files Browse the repository at this point in the history
  • Loading branch information
savente93 committed Sep 27, 2024
1 parent d84d7f3 commit 152dd33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/finish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
run: |
git pull
git checkout main
export RELEASE_VERSION=$(grep "version" hydromt/__init__.py | cut -d= -f 2 | tr -d "\" ")
export RELEASE_VERSION=$(grep "__version__" hydromt/__init__.py | cut -d= -f 2 | tr -d "\" ")
if [ -z "$RELEASE_VERSION" ]; then
echo "could not determine release version"
echo "detection result: $RELEASE_VERSION"
Expand Down

0 comments on commit 152dd33

Please sign in to comment.