Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/pgxn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ jobs:
- name: Check out the repo
uses: actions/checkout@v4
with: { submodules: recursive, fetch-depth: 0 }
- name: Set version from tag
if: startsWith( github.ref, 'refs/tags/v' )
run: |
VERSION="${GITHUB_REF#refs/tags/v}"
jq --arg v "$VERSION" '.version = $v | .provides.pg_stat_ch.version = $v' META.json > META.tmp
mv META.tmp META.json
- name: Bundle the Release
env: { GIT_ARCHIVE_CMD: archive-all }
id: bundle
Expand Down
4 changes: 2 additions & 2 deletions META.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"abstract": "PostgreSQL Query Telemetry Exporter to ClickHouse",
"docfile": "README.md",
"file": "pg_stat_ch.control",
"version": "0.1.7"
"version": "0.3.2"
Copy link

Copilot AI Apr 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR description states the version should be updated to "0.3.1" to address the failed v0.3.1 PGXN release, but the actual changes update META.json to "0.3.2" instead. This discrepancy should be clarified - either the description is incorrect or the version numbers in META.json should be 0.3.1.

Copilot uses AI. Check for mistakes.
}
},
"resources": {
Expand All @@ -46,5 +46,5 @@
"metrics",
"clickhouse"
],
"version": "0.1.7"
"version": "0.3.2"
}
Loading