-
Notifications
You must be signed in to change notification settings - Fork 616
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
Semantic versioning for osmosis v5.x #783
Conversation
@@ -29,5 +29,5 @@ Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types:. \ | |||
$(find "${dir}" -maxdepth 1 -name '*.proto') | |||
done | |||
|
|||
cp -r ./github.com/osmosis-labs/osmosis/* ./ | |||
cp -r ./github.com/osmosis-labs/osmosis/v*/x/* x/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh cool, did you test make proto-gen on this branch and it works?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep! With this included, proto doesn't get confused where it should generate the proto files even with the go semantic versioning included.
With this not included: proto-gen generates proto file by making a new directory v5, which is the case we don't want
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yup
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for doing this. Lets merge once make proto-gen
is confirmed to work / not work in the new setup
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.
Closes: #621
Description
This PR adds semantic versioning for v5 in the imports. It also includes change in
generate-proto.sh
to ensure proto files get generated in the proper directory.For contributor use:
docs/
) or specification (x/<module>/spec/
)Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorer