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

Publish workflow silently publishes nothing when the release tag isn't a MinVer version

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

维护者通常 7 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
58/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
csharp, github-actions
领域
ci-cd, release

调研方向

Start by reading .github/workflows/publish.yml and the repository's MinVer configuration, then check how the preview workflow handles package versions. Decide how the workflow should validate release tags and packed versions, given the existing bare tag convention; done when an invalid or mismatched tag makes the publish run fail instead of silently succeeding.

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

描述

enhancement github_actions

The 0.17.0 release was first tagged v0.17.0. MinVer has no MinVerTagPrefix configured, so it ignored the tag and computed 0.16.5-alpha.0.31 from the previous 0.16.4 tag. That prerelease had already been pushed by the preview workflow, so every dotnet nuget push reported "already exists", which --skip-duplicate swallowed. The Publish NuGet run went green without publishing anything (https://github.com/Eventuous/eventuous/actions/runs/35508816930).

Options (not mutually exclusive):

  • Set <MinVerTagPrefix>v</MinVerTagPrefix>, or otherwise accept both 0.x.y and v0.x.y tags. The current convention is bare tags, so this would need to be decided explicitly.
  • Add a guard step in publish.yml that fails when the tag isn't a valid SemVer version, or when the packed package version doesn't equal the tag name.
  • Restrict the workflow's tags filter to a version pattern (e.g. '[0-9]+.[0-9]+.[0-9]+*') so stray tags don't trigger a publish run at all.
主要语言
C#
星标
512
派生
99
平均合并
5 天 6 小时
30 天内合并 PR
5

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

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

Eventuous/eventuous 的其他 Issue

查看 Eventuous/eventuous 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

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