diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4149d91..50e7ad6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,6 +1,8 @@ name: Upload release to PyPI on: - workflow_dispatch: + release: + types: + - published jobs: pypi-publish: @@ -17,8 +19,6 @@ jobs: python-version: ">=3.12" - run: | pip install -r requirements-poetry.txt - git tag $(poetry version --short) - git push origin $(poetry version --short) poetry self add poetry-version-plugin poetry sync poetry build diff --git a/pyproject.toml b/pyproject.toml index 358687a..9204420 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "sql-compare" -version = "0.1.3" +version = "0" description = "Compare SQL schemas" authors = [{ name = "Charly Laurent", email = "charly.laurent@mergify.com" }] maintainers = [{ name = "Mergify", email = "engineering@mergify.com" }]