Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable tag-based deployment for dbt-metricflow (#1349)
We need to be able to start deploying dbt-metricflow via tags that trigger a deployment action instead of relying on manual deployment. This is necessary for two reasons: 1. The MetricFlow repository is evolving to allow for multiple package deployments in distinctive ways, and each package would benefit from a set of pre-deployment steps. 2. With the CLI now bundled with dbt-metricflow we need a structured way of adding and deploying patch fixes for versions that are too far behind the current repo main branch to deploy off of main. Therefore, this PR splits our PyPI deployment action into two separate versions with different tag-format triggers, one for MetricFlow and the other for dbt-metricflow. Authentication for dbt-metricflow will be managed via PyPI's Trusted Publisher mechanism. MetricFlow will follow suit once the relevant PyPI enrollments are ready. Note these are separate files with some duplication here, but it's minimal, and we expect further divergence over time as we develop package-specific pre-deployment tests for these packages.
- Loading branch information