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

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

Đang mở
#600 1 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 7 ngày

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
58/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp, github-actions
Lĩnh vực
ci-cd, release

Hướng nghiên cứu

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.

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

Mô tả

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.
Ngôn ngữ chính
C#
Star
512
Fork
99
Merge trung bình
5 ngày 6 giờ
Pull request đã merge (30 ngày)
5

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

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 Eventuous/eventuous

Tất cả issue của Eventuous/eventuous

Issue tương tự

Thêm issue về C#

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.