mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 11:29:10 +08:00
Fix build issues with no git repo
This commit is contained in:
parent
998d33be56
commit
2afdf5231c
@ -1 +1 @@
|
||||
v2.9.2
|
||||
v2.9.3
|
@ -53,7 +53,7 @@ func GenerateBindings(options Options) (string, error) {
|
||||
}
|
||||
}
|
||||
|
||||
stdout, stderr, err = shell.RunCommand(workingDirectory, options.Compiler, "build", "-tags", tagString, "-o", filename)
|
||||
stdout, stderr, err = shell.RunCommand(workingDirectory, options.Compiler, "build", "-tags", tagString, "-buildvcs=false", "-o", filename)
|
||||
if err != nil {
|
||||
return stdout, fmt.Errorf("%s\n%s\n%s", stdout, stderr, err)
|
||||
}
|
||||
|
@ -193,6 +193,8 @@ func (b *BaseBuilder) CompileProject(options *Options) error {
|
||||
// Default go build command
|
||||
commands.Add("build")
|
||||
|
||||
commands.Add("-buildvcs=false")
|
||||
|
||||
// Add better debugging flags
|
||||
if options.Mode == Dev || options.Mode == Debug {
|
||||
commands.Add("-gcflags")
|
||||
|
@ -14,6 +14,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## v2.9.3 - 2025-02-13
|
||||
|
||||
### Added
|
||||
- Go 1.24 support by [@leaanthony](https://github.com/leaanthony)
|
||||
|
||||
### Fixed
|
||||
- Now using `-buildvcs=false` build tag by default to remove `error obtaining VCS status: exit status 128` errors by [@leaanthony](https://github.com/leaanthony)
|
||||
|
||||
|
||||
## v2.9.2 - 2024-09-18
|
||||
|
||||
### Fixed
|
||||
|
Loading…
Reference in New Issue
Block a user