Skip to content

Exclude mssql-python 1.7.0 and 1.7.1 from allowed versions (#294) #38

Exclude mssql-python 1.7.0 and 1.7.1 from allowed versions (#294)

Exclude mssql-python 1.7.0 and 1.7.1 from allowed versions (#294) #38

Workflow file for this run

---
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