-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
distributionPackaging, release, and distribution-related changesPackaging, release, and distribution-related changesqualityQuality controls, testing, test coverageQuality controls, testing, test coverage
Description
Write a script that examines the version in META.json, pg_clickhouse.control, doc/pg_clickhouse.md, and CHANGELOG.md, and the $GITHUB_REF_NAME environment variable (when $CI is set and it's a version) to ensure they're compatible. Things to check:
- The version in
META.jsonis canonical. Both instances of it there should be the same - The version in
pg_clickhouse.controlmust be the same as thex.ypart of the version fromMETA.json - Aside from
0.1, thex.ypart must always have an upgrade script in the sql directory - If a workflow is running for a semantic version tag, the tag must be the same as the full
x.y.zversion fromMETA.jsonversion - PG_MODULE_MAGIC must be the same full
x.y.zversion fromMETA.json
Any violations should raise an error (or be automated away).
Metadata
Metadata
Assignees
Labels
distributionPackaging, release, and distribution-related changesPackaging, release, and distribution-related changesqualityQuality controls, testing, test coverageQuality controls, testing, test coverage