Skip to content

Commit

Permalink
feat(#324): sed
Browse files Browse the repository at this point in the history
  • Loading branch information
h1alexbel committed Feb 6, 2025
1 parent e85771d commit a20358e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .rultor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ release:
pre: false
script: |-
[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1
sed -i "s/0\.0\.0/${tag}/g" version.txt
sed -i "s/version = \"0\.0\.0\"/version = \"${tag}\"/g" pyproject.toml
sed -i "s/version = \"0\.0\.0\"/version = \"${tag}\"/g" sr-data/pyproject.toml
sed -i "s/version = \"0\.0\.0\"/version = \"${tag}\"/g" sr-cli/pyproject.toml
git commit -am "${tag}"
poetry config pypi-token.pypi $(cat ../pypi.txt)
poetry build
Expand Down
1 change: 0 additions & 1 deletion version.txt

This file was deleted.

0 comments on commit a20358e

Please sign in to comment.