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

Update wails in go.sum #134

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

mareksapota
Copy link

Summary: Fixes mismatch in wails version between go.mod and go.sum. Fixes the following issue with vendoring mods:

Before:

$ go mod vendor && echo success
go: github.com/wailsapp/[email protected]: missing go.sum entry for go.mod file; to add it:
        go mod download github.com/wailsapp/wails

After:

$ go mod vendor && echo success
success

Summary: Fixes mismatch in wails version between `go.mod` and `go.sum`.
Fixes the following issue with vendoring mods:

Before:

```
$ go mod vendor && echo success
go: github.com/wailsapp/[email protected]: missing go.sum entry for go.mod file; to add it:
        go mod download github.com/wailsapp/wails
```

After:

```
$ go mod vendor && echo success
success
```
@mareksapota
Copy link
Author

Hey, @fdidron could you take a look at this? For more context I'm packaging Wally for openSUSE. The Go tooling for openSUSE packages uses vendored in dependencies (see here and here for more details) and fails to produce the vendor tar due to the go mod vendor error shown above. Fixing this issue would make packaging easier, currently I'm forced to build Wally from my own branch (the one attached to this PR). The code in this PR has been generated by running the command suggested in the error message: go mod download github.com/wailsapp/wails.

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.

1 participant