We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 367a6dc commit 72b562aCopy full SHA for 72b562a
2 files changed
.github/workflows/publish.yml
@@ -15,6 +15,16 @@ jobs:
15
steps:
16
- uses: actions/checkout@v4
17
18
+ - name: Verify version matches tag
19
+ run: |
20
+ PKG_VERSION=$(grep '^version = ' pyproject.toml | sed 's/version = "\(.*\)"/\1/')
21
+ TAG_VERSION=${GITHUB_REF_NAME#v}
22
+ if [ "$PKG_VERSION" != "$TAG_VERSION" ]; then
23
+ echo "::error::Version mismatch: pyproject.toml has $PKG_VERSION but tag is $TAG_VERSION"
24
+ exit 1
25
+ fi
26
+ echo "Version verified: $PKG_VERSION"
27
+
28
- name: Install uv
29
uses: astral-sh/setup-uv@v4
30
pyproject.toml
@@ -1,6 +1,6 @@
1
[project]
2
name = "mqtt2influxdb"
3
-version = "2.0.0"
+version = "2.0.5"
4
description = "MQTT to InfluxDB v3 bridge for IoT applications"
5
readme = "README.md"
6
license = "MIT"
0 commit comments