diff --git a/.github/workflows/on_release.yaml b/.github/workflows/on_release.yaml index 1e5ed46..b091f28 100644 --- a/.github/workflows/on_release.yaml +++ b/.github/workflows/on_release.yaml @@ -13,6 +13,7 @@ jobs: sed -i "s/version = .*/version = '${tag_name}'/" pyproject.toml git config user.email "41898282+github-actions[bot]@users.noreply.github.com" git config user.name "github-actions[bot]" + git checkout -b main git add pyproject.toml git commit -m "Update version to ${tag_name}" git push