ant-design / ant-design/pro-components

pro-components 的 version 信息和实际安装的不符合

Open
#8,967 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

image

version 信息和实际版本不符合,永远是上一次的版本。https://github.com/ant-design/pro-components/blob/0fef87fab194d43e0060234caaf1edbbd6e314f5/scripts/release.js#L81-L92 看起来 build 在 bump version 之前导致的,不知道是不是故意这样设计的

Contributor guide

Open the contributing guide

Research direction

Start with scripts/release.js, especially lines 81-92, and trace the order of the build and version-bump steps. Reproduce the release or installation flow and verify that the reported version matches the actual installed version; done means the version information no longer remains one release behind.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
build-system, release
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.