From 77eaafd1ecd2bf61be8ad59ad7aa8d67d5094293 Mon Sep 17 00:00:00 2001 From: Valentin Berlier Date: Sat, 17 Sep 2022 05:53:40 +0200 Subject: [PATCH] fix: properly reset version on initialize --- .github/workflows/template.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/template.yml b/.github/workflows/template.yml index b1fe9df..af247ec 100644 --- a/.github/workflows/template.yml +++ b/.github/workflows/template.yml @@ -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