Exclude mssql-python 1.7.0 and 1.7.1 from allowed versions (#294) #38
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: Release new version | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| permissions: | |
| id-token: write | |
| contents: read | |
| jobs: | |
| release-version: | |
| name: Release new version | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Update version from tag | |
| run: | | |
| # Extract version from tag (remove 'v' prefix) | |
| VERSION=${GITHUB_REF#refs/tags/v} | |
| echo "Setting version to $VERSION" | |
| # Update the version in __version__.py | |
| echo "version = \"$VERSION\"" > src/dbt/adapters/fabric/__version__.py | |
| echo "version = \"$VERSION\"" > src/dbt/adapters/fabricspark/__version__.py | |
| - name: Install dependencies | |
| run: uv sync | |
| - name: Build and publish package | |
| run: | | |
| uv build | |
| uv publish |