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

Need a tag for the du module to enable easy updates to later versions #7

Open
carleeto opened this issue Oct 17, 2021 · 0 comments
Open

Comments

@carleeto
Copy link

The du folder has its own go.mod file and is therefore a separate module, which means that it cannot be updated based on existing tags.

Therefoure, go get -u github.com/ricochet2200/go-disk-usage/du@v1.1.2 results in the following error:

go get: module github.com/ricochet2200/go-disk-usage@v1.1.2 found, but does not contain package github.com/ricochet2200/go-disk-usage/du

As per the docs, when there are multiple modules in one repository, the tags need to indicate which module is being versioned.

In other words, you would need to add a tag called du/v1.1.2 to allow downstream packages to use the latest du module.

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

No branches or pull requests

1 participant