Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: modern release会自动触发先执行build的逻辑,能否通过参数控制不触发,谢谢。 #6606

Closed
laoer536 opened this issue Dec 4, 2024 · 0 comments

Comments

@laoer536
Copy link

laoer536 commented Dec 4, 2024

这个功能解决了什么问题?

在我们定义了对构建产物进行脚本处理的情况下,即build之后我们有自定义的脚本再对构建产物进行操作,但是每次release的时候,会触发build,会覆盖掉我们之前处理后正确的产物。我想是否可以用户在执行release的的时候通过传递命令行参数来控制是否触发构建包,可以默认触发,这没问题。

你期望的 API 是什么样子的?

modern release -no-build (不触发构建,仅发布)
modern release (先构建再发布)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant