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.
2 parents 35f98a6 + faf84b2 commit 0764c71Copy full SHA for 0764c71
.github/workflows/publish.yml
@@ -19,6 +19,16 @@ jobs:
19
id-token: write
20
steps:
21
- uses: actions/checkout@v3
22
+ - name: Compare package version with ref/tag
23
+ id: compare
24
+ run: |
25
+ set -e
26
+ VERSION=$(awk -F'"' '/__version__/ {print $2}' mysql-to-sqlite3/__version__.py)
27
+ TAG=${GITHUB_REF_NAME#v}
28
+ if [[ "$VERSION" != "$TAG" ]]; then
29
+ echo "Version in mysql-to-sqlite3/__version__.py ($VERSION) does not match tag ($TAG)"
30
+ exit 1
31
+ fi
32
- name: Set up Python
33
uses: actions/setup-python@v4
34
with:
setup.cfg
@@ -4,7 +4,8 @@ exclude = tests
4
max-line-length = 88
5
6
[metadata]
7
-license_file = LICENSE
+license_files =
8
+ LICENSE
9
10
[bdist_wheel]
11
universal = true
0 commit comments