Skip to content

Commit 08a3477

Browse files
authored
Use the -i option with sed to change target file (#6)
1 parent 5fa715f commit 08a3477

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/pypi-publish.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ jobs:
3131
echo "Extracted version: ${VERSION}"
3232
3333
# Update toml file
34-
sed "s|%version%|${{ env.VERSION }}|g;" pyproject.toml
35-
cat pyproject.toml
34+
sed -i "s|%version%|${{ env.VERSION }}|g;" pyproject.toml
3635
3736
# Build the package
3837
python -m build

0 commit comments

Comments
 (0)