Closed
Conversation
Contributor
Author
Please maintain a correct and complete go.sum file for the gf cli.Go versiongo version go1.22.2 linux/amd64 GoFrame versionv2.9.0 Can this bug be reproduced with the latest release?Yes What did you do?cd cmd/gf
export GOWORK=off
go mod vendor
What did you see happen?What did you expect to see?These commands should execute correctly without needing go mod tidy. cd cmd/gf
export GOWORK=off
# go mod tidy
go mod vendor
go build -mod=vendor .Why?This is helpful when using Nix Flake to manage development environment. |
hailaz
approved these changes
Jun 11, 2025
Contributor
|
这里还需要考虑一个问题,就是打tag的时候,主库的tag和cli的tag是同时发布的,所以才导致go.sum无法获取最新版的数据。 |
Contributor
Author
|
参考其他开源社区的解决方案,或许可以把release分为两个:
|
Contributor
现在就是两个,到时候看看调整一下流水线,让他先后发版 |
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.