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

The package version must match the major tag version #1654

Merged
merged 4 commits into from
Sep 20, 2024

Conversation

lespea
Copy link
Contributor

@lespea lespea commented Sep 20, 2024

According to go.mod once you have a version that's > 1.0.0 you must alter the actual package to include the major version number. While you can copy the entire structure into a new folder it's way easier to just adjust go.mod and then update all of the import statements.

Without this it's not currently possible to install this with a normal go install outside of cloning the entire repo.

I ran make unit-tests and everything seemed to work so hopefully this is everything. I used gomajor for the heavy lifting and rg/xargs/sd for the stragglers.

See more

Fixes #1093

@johnkerl johnkerl merged commit 085e831 into johnkerl:main Sep 20, 2024
6 checks passed
@lespea lespea deleted the fixVersionPaths branch September 20, 2024 16:54
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

Successfully merging this pull request may close these issues.

Go build instructions don't work
2 participants