Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

已关闭
#158 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

已经有一个关联 PR 被合并了。

  • #212 来自 @jasperblues —— 已合并

评估

难度
4/5
预计耗时
3-5 天
新手友好度
38/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
github-actions, python
领域
ci-cd, devops, release

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.
主要语言
Python
星标
1
派生
0
平均合并
1 小时 29 分钟
30 天内合并 PR
136

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

liberation-data/drivine-python 的其他 Issue

查看 liberation-data/drivine-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。