dbt-labs / dbt-common

Apache License 2.0
10 stars 15 forks source link

Finish release automation - version bump, changelogs, testing #92

Open emmyoop opened 8 months ago

emmyoop commented 8 months ago

Housekeeping

Short description

Sync with dbt-adapters to finish automating the release. They're already doing work to mirror the release we use with. dbt-core plus adapters (dbt-snowflake etc)

This differs from the dbt-core release because dbt-common uses hatch.

As of now https://github.com/dbt-labs/dbt-common/blob/main/.github/workflows/release.yml just releases to PyPI.

Acceptance criteria

extra but not required

Suggested Tests

This workflow should have an option to run as a test This workflow should run nightly as a test release to ensure the release works

Impact to Other Teams

None

Will backports be required?

No

Context

dbt-adapters doing something similar in https://github.com/dbt-labs/dbt-adapters/issues/4, we can largely draw from that work once its done.

QMalcolm commented 5 months ago

Some prior art (building and publishing the release) exists in dbt-semantic-interfaces. I think the harder parts will be changelog generation and bumping the version. Hatch does have built in tooling for bumping the version.

JCZuurmond commented 4 months ago

Hi, I could you use the releases for a package that I am maintaining. Here to raise this issue to your attention :)