From 848acbb8e13665100e619995eb5eedffd03b2017 Mon Sep 17 00:00:00 2001 From: Jonathan Bhaskar Date: Wed, 13 Nov 2024 14:49:32 +0530 Subject: [PATCH] Prepare release v0.1.1 (#9) --- .github/workflows/release.yml | 15 ++++++++++++--- CHANGELOG.md | 2 +- pyproject.toml | 20 ++++++++++---------- 3 files changed, 23 insertions(+), 14 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c56d4b2..a345d30 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,15 +1,17 @@ name: Release on: - push: + pull_request: + types: + - closed branches: - main jobs: release: - if: startsWith(github.ref, 'refs/tags/') + # Only run on merged PRs from release branches + if: github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'release/') runs-on: ubuntu-latest - permissions: contents: write @@ -18,6 +20,12 @@ jobs: with: fetch-depth: 0 + - name: Get version from pyproject.toml + id: get-version + run: | + VERSION=$(grep '^version = ' pyproject.toml | sed 's/version = "\(.*\)"/\1/') + echo "version=$VERSION" >> $GITHUB_OUTPUT + - name: Set up Python uses: actions/setup-python@v5 with: @@ -38,5 +46,6 @@ jobs: - name: Create GitHub Release uses: softprops/action-gh-release@v2 with: + tag_name: "v${{ steps.get-version.outputs.version }}" generate_release_notes: true files: dist/* \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e6a831..94749d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -## [0.1.0] - 2024-11-13 +## [0.1.1] - 2024-11-13 ### Added - Initial release - Configuration-driven pipeline creation diff --git a/pyproject.toml b/pyproject.toml index b96fe5b..ba0a952 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "dagster-odp" -version = "0.1.0" +version = "0.1.1" description = "A configuration-driven framework for building Dagster pipelines" readme = "README.md" requires-python = ">=3.9,<3.13" @@ -16,32 +16,32 @@ dependencies = [ # Core Dagster - Pin to specific minor version for stability "dagster>=1.9.1,<1.10.0", "dagster-webserver>=1.9.1,<1.10.0", - + # Dagster Integrations - Keep in sync with core "dagster-gcp>=0.25.1,<0.26.0", "dagster-dbt>=0.25.1,<0.26.0", - + # DBT Stack - Use compatible versions "dbt-core>=1.8.8,<1.9.0", "dbt-bigquery>=1.8.3,<1.9.0", "dbt-duckdb>=1.8.4,<1.9.0", - + # Data Loading Tool "dlt[bigquery]>=0.5.4,<0.6.0", - + # Database "duckdb>=1.0.0,<2.0.0", - + # Cloud Storage "google-cloud-storage>=2.18.2,<3.0.0", "fsspec>=2024.10.0", "gcsfs>=2024.10.0", - + # Data Quality "soda-core>=3.3.22,<3.4.0", - "soda-core-bigquery>=3.3.22,<3.4.0", + "soda-core-bigquery>=3.3.22,<3.4.0", "soda-core-duckdb>=3.3.22,<3.4.0", - + # Utilities "chevron>=0.14.0,<0.15.0", "requests>=2.32.3,<3.0.0" @@ -57,7 +57,7 @@ dev = [ # documentation "mkdocs-material>=9.5.44,<10.0.0", "mkdocs-glightbox>=0.4.0,<0.5.0", - + # Code quality tools "black>=24.10.0", "flake8>=7.1.1",