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

x/exp/cmd/gorelease: fetch base version from directory with -basedir flag #39192

Open
jayconrod opened this issue May 21, 2020 · 0 comments
Open

x/exp/cmd/gorelease: fetch base version from directory with -basedir flag #39192

jayconrod opened this issue May 21, 2020 · 0 comments

Comments

@jayconrod
Copy link
Contributor

@jayconrod jayconrod commented May 21, 2020

gorelease currently lets the user specify a base version to compare against using the -base flag. At the moment, this only accepts an existing version of the same module (retrievable using go mod download). #37410 would allow version queries like @latest, @master, or @01234abcdef

It may sometimes be useful to compare against code that isn't available to the proxy or pushed to the origin VCS server yet. A -basedir flag would help with this. It would let the user specify the base version as a directory tree.

gorelease -basedir=path/to/base -release=v1.0.0

cc @liggitt

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

Successfully merging a pull request may close this issue.

None yet
1 participant