Skip to content

Commit

Permalink
fix: properly reset version on initialize
Browse files Browse the repository at this point in the history
  • Loading branch information
vberlier committed Sep 17, 2022
1 parent e686f87 commit 77eaafd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ jobs:
mv fixme "$package_name"
echo "$README" > README.md
sed -i 's/version = ".+"/version = "0.0.0"/' pyproject.toml
sed -i 's/__version__ = ".+"/__version__ = "0.0.0"/' "$package_name/__init__.py"
sed -i 's/version = ".*"/version = "0.0.0"/' pyproject.toml
sed -i 's/__version__ = ".*"/__version__ = "0.0.0"/' "$package_name/__init__.py"
rm CHANGELOG.md
rm .github/workflows/template.yml
Expand Down

0 comments on commit 77eaafd

Please sign in to comment.