Skip to content

Commit

Permalink
fix existing version detection in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rlnt committed Sep 1, 2024
1 parent c0a3481 commit bb89e4d
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 @@ -88,7 +88,7 @@ jobs:
env:
VERSION: ${{ steps.version.outputs.VERSION }}
run: |
if grep -q '^version\s*=\s*"$VERSION"' build.gradle.kts; then
if grep -q "^version\s*=\s*\"$VERSION\"" build.gradle.kts; then
echo "version is already set"
else
echo "version is outdated, adjusting build.gradle.kts"
Expand Down

0 comments on commit bb89e4d

Please sign in to comment.