Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Release from a tag: CI builds and publishes, with one tag style across the three libraries

Đang mở
#158 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
38/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions, python
Lĩnh vực
ci-cd, devops, release

Hướng nghiên cứu

Start by reading pyproject.toml for the project version and build configuration, then inspect the repository’s existing GitHub Actions workflows and release process. Implement and document the tag-triggered release flow described in the issue, including the version check, wheel smoke test, and trusted publishing setup. Done means a test tag completes the dry run, RELEASING.md is merged, and the required secrets or publisher configuration are documented for the maintainer.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement

The 0.3.0 / 3.3.0 / 0.2.0 releases were built and tagged by hand, and they drifted. drivine4j was published from main past its release PR, so its tag had to follow what was published. drivine nearly went out from a checkout with a stale node_modules. The tag styles also differ (0.3.0 in drivine4j, vX.Y.Z in the others).

The same release process for all three libraries:

  1. A release PR bumps the version and the changelog. It is reviewed and passes CI like any other PR.
  2. Merging it is the release point. The merge commit is tagged vX.Y.Z, the same style in all three repos.
  3. A tag push runs a GitHub Actions workflow that checks out the tag, runs the full gate, builds, and publishes. Nothing is built from a local checkout.
  4. Credentials live as repo secrets (or trusted publishing), never on a laptop.
  5. RELEASING.md describes the steps. Each repo has the same file, differing only in its publish step.

Done when:

  • a dry run (to a staging target or with publish skipped) works from a test tag;
  • RELEASING.md is merged;
  • the secrets are listed for the maintainer to add.

Use it for the next release, once the "Next release + 1" backlog is cleared.

drivine-python specifics:

  • Publish: uv build (hatchling), then upload to PyPI with trusted publishing (OIDC); no token needed.
  • Setup: configure a PyPI trusted publisher for the repo and workflow.
  • Check: pyproject.toml's version matches the tag, or the job fails.
  • Smoke test: after the build, install the wheel into a clean venv and run python -m drivine.stubs.
Ngôn ngữ chính
Python
Star
1
Fork
0
Merge trung bình
1 giờ 16 phút
Pull request đã merge (30 ngày)
74

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của liberation-data/drivine-python

Tất cả issue của liberation-data/drivine-python

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.