mirror of
https://github.com/v2rayA/v2rayA.git
synced 2024-11-25 16:34:19 +08:00
ci: fix openbsd builds' double version string
This commit is contained in:
parent
597b09ad74
commit
e76aba8112
2
.github/workflows/beta_release_main.yml
vendored
2
.github/workflows/beta_release_main.yml
vendored
@ -120,7 +120,7 @@ jobs:
|
||||
$env:GOARCH = $arch
|
||||
$filename = $((Get-Content ./install/friendly-filenames.json | ConvertFrom-Json)."openbsd-$arch")."friendlyName"
|
||||
Set-Location -Path service
|
||||
go build -o ../v2raya_binaries/v2raya_${filename}_${env:VERSION}_${env:VERSION} -ldflags="-X github.com/v2rayA/v2rayA/conf.Version=${env:VERSION} -s -w" -trimpath
|
||||
go build -o ../v2raya_binaries/v2raya_${filename}_${env:VERSION} -ldflags="-X github.com/v2rayA/v2rayA/conf.Version=${env:VERSION} -s -w" -trimpath
|
||||
Set-Location -Path ..
|
||||
}
|
||||
- name: Upload Artifact
|
||||
|
2
.github/workflows/release_main.yml
vendored
2
.github/workflows/release_main.yml
vendored
@ -120,7 +120,7 @@ jobs:
|
||||
$env:GOARCH = $arch
|
||||
$filename = $((Get-Content ./install/friendly-filenames.json | ConvertFrom-Json)."openbsd-$arch")."friendlyName"
|
||||
Set-Location -Path service
|
||||
go build -o ../v2raya_binaries/v2raya_${filename}_${env:VERSION}_${env:VERSION} -ldflags="-X github.com/v2rayA/v2rayA/conf.Version=${env:VERSION} -s -w" -trimpath
|
||||
go build -o ../v2raya_binaries/v2raya_${filename}_${env:VERSION} -ldflags="-X github.com/v2rayA/v2rayA/conf.Version=${env:VERSION} -s -w" -trimpath
|
||||
Set-Location -Path ..
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user