We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The CLI is not using the project's version from the VERSION file in the root of the directory.
VERSION
See: https://github.com/CityOfZion/neo-local/blob/master/VERSION
It instead has to manually set it's version within the main.go, see:
main.go
neo-local/cli/main.go
Lines 13 to 47 in 046c115
This is annoying as you tend to forget to bump both, and the CI build on checks against one of them.
Pass the value of VERSION through when building the CLI.
See this gist for documentation on how to achieve this: https://gist.github.com/marz619/e91796afa5a951c0aa4595d7e73d78d0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Problem
The CLI is not using the project's version from the
VERSION
file in the root of the directory.See: https://github.com/CityOfZion/neo-local/blob/master/VERSION
It instead has to manually set it's version within the
main.go
, see:neo-local/cli/main.go
Lines 13 to 47 in 046c115
This is annoying as you tend to forget to bump both, and the CI build on checks against one of them.
Solution
Pass the value of
VERSION
through when building the CLI.See this gist for documentation on how to achieve this: https://gist.github.com/marz619/e91796afa5a951c0aa4595d7e73d78d0
The text was updated successfully, but these errors were encountered: