-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Add missing cosmos-SDK release 0.25.0 version #2722
Conversation
Hey @curicm! Thanks for the contribution. Do we need this when version is already set via: VERSION := $(shell git describe --tags --long | sed 's/v\(.*\)/\1/') which produces something along the lines of: |
Codecov Report
@@ Coverage Diff @@
## master #2722 +/- ##
==========================================
+ Coverage 58.81% 58.83% +0.02%
==========================================
Files 152 152
Lines 9420 9420
==========================================
+ Hits 5540 5542 +2
+ Misses 3510 3508 -2
Partials 370 370 |
Hey @alexanderbez I'm not sure. On current master branch for example: basecoin does not print version information:
after the proposed change the version is displayed: $./basecli version This was working on previous cosmos-SDK and the version was set similarly in: |
@curicm it was removed because we're not using git's describe mechanism, which is the more proper course of action (ref: #2318) I just ran Perhaps you're using. Perhaps we simply didn't push tags to master? In any case, this code is not needed. |
@alexanderbez thanks for pointing out ref: #2318 I see now where the problem is. Was building basecli with the automatically generated makefile from cosmos-sdk-cli binary. The proposed "git describe" change was added only to the main makefile, but not to the code in cosmos-sdk-cli which generates a custom makefile. the generated build command looks like this: build: |
Great catch @curicm! Would you like to make a PR for this fix? I will be closing this. |
Fine. I can do a PR and will reference this conversation. Thanks. |
Thanks @curicm 🍍 |
* fix md links * remove proto docs and Makefile target * fix md links
Targeted PR against correct branch (see CONTRIBUTING.md)
[n ] Linked to github-issue with discussion and accepted design OR link to spec that describes this work.
[+] Wrote tests
[n ] Updated relevant documentation (
docs/
)[ n] Added entries in
PENDING.md
with issue #[ n] rereviewed
Files changed
in the github PR explorerFor Admin Use: