diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f7c0989..022f118 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,6 +23,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: @@ -31,6 +33,7 @@ jobs: - name: Install Poetry run: | pipx install poetry + pipx inject poetry poetry-dynamic-versioning poetry --version - name: Install dependencies run: | diff --git a/pyproject.toml b/pyproject.toml index 14af1f1..f7b8524 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "dbt-ext" -version = "0.1.0" +version = "0.0.0" description = "`dbt-ext` is a Meltano utility extension." authors = ["Meltano Team and Contributors"] maintainers = ["Meltano Team and Contributors"] @@ -38,9 +38,12 @@ pre-commit = "^2.20.0" pytest = "^7.1.3" [build-system] -requires = ["poetry-core==1.9.0"] -build-backend = "poetry.core.masonry.api" +requires = ["poetry-core==1.9.0", "poetry-dynamic-versioning==1.4.0"] +build-backend = "poetry_dynamic_versioning.backend" [tool.poetry.scripts] dbt_extension = 'dbt_ext.main:app' dbt_invoker = 'dbt_ext.pass_through:pass_through_cli' + +[tool.poetry-dynamic-versioning] +enable = true