Skip to content

Commit

Permalink
use two separate sed commands
Browse files Browse the repository at this point in the history
  • Loading branch information
luizirber committed Feb 20, 2023
1 parent b08ac03 commit 97aa5d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ git checkout -b release/v${new_version}
```
and update the version number in `pyproject.toml` and `flake.nix`:
```
sed -i -e "s|version = .*$|version = \"${new_version}\"|g" pyproject.toml flake.nix
sed -i -e "s|version = .*$|version = \"${new_version}\"|g" pyproject.toml
sed -i -e "s|version = .*$|version = \"${new_version}\";|g" flake.nix
```

Commit the changes and push the branch:
Expand Down

0 comments on commit 97aa5d2

Please sign in to comment.