We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 394b2ba commit d29a11eCopy full SHA for d29a11e
.github/workflows/package.yml
@@ -65,6 +65,16 @@ jobs:
65
needs: [build-linux, build-windows]
66
runs-on: ubuntu-latest
67
steps:
68
+ - uses: actions/checkout@v4
69
+ - uses: astral-sh/setup-uv@v6
70
+ - name: Check version consistency
71
+ run: |
72
+ tag_version=${GITHUB_REF/refs\/tags\/v/}
73
+ proj_version=$(uv run --no-project --with poetry poetry version -s)
74
+ if [ "$tag_version" != "$proj_version" ]; then
75
+ echo "::error title=Version mismatch::Tag version \"$tag_version\" does not match project version \"$proj_version\".""
76
+ exit 1
77
+ fi
78
- uses: actions/download-artifact@v4
79
with:
80
path: artifacts
0 commit comments