Skip to content

Commit 04842f0

Browse files
[fix] quote expansion
1 parent b696a84 commit 04842f0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/pypi.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,7 @@ jobs:
3737
run: |
3838
git config --local user.name "$GITHUB_ACTOR"
3939
git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com"
40-
git commit $(git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep '_version') -m 'Bump version' || echo "No changes to commit"
40+
git commit "$(git diff --name-only ${{ github.event.before }} \
41+
${{ github.sha }} | grep '_version')" -m 'Bump version' || \
42+
echo "No changes to commit"
4143
git push origin || echo "No changes to commit"

0 commit comments

Comments
 (0)