mirror of
https://github.com/v2rayA/v2rayA.git
synced 2026-11-20 23:02:25 +03:00
Add v2rayA bin releases
This commit is contained in:
1 parent
1ffa87685f
commit
9ba4ec5d80
1 file changed
+3
-11
@@ -43,16 +43,6 @@ Copy-Item -Path ./web ./service/server/router/ -Recurse
|
||||
New-Item -ItemType Directory -Path ./ -Name "v2raya-x86_64-windows"; New-Item -ItemType Directory -Path ".\v2raya-x86_64-windows\bin"
|
||||
New-Item -ItemType Directory -Path ./ -Name "v2raya-arm64-windows"; New-Item -ItemType Directory -Path ".\v2raya-arm64-windows\bin"
|
||||
|
||||
# if ($REF -eq "refs/tags/v*") {
|
||||
# Write-Host $REF
|
||||
# $VERSION = (git describe --tags $(git rev-list --tags --max-count=1)).replace("v","")
|
||||
# }else {
|
||||
# $Date = $((git log -1 --format="%cd" --date=short) -replace "-","")
|
||||
# $count = git rev-list --count HEAD
|
||||
# $commit = git rev-parse --short HEAD
|
||||
# $VERSION = "unstable-$date.r$count.$commit"
|
||||
# }
|
||||
|
||||
Set-Location -Path ./service
|
||||
$VERSION = ${env:VERSION}
|
||||
$env:CGO_ENABLED = "0"
|
||||
@@ -134,4 +124,6 @@ $(Get-Content -Path .\install\windows-inno\windows_arm64.iss).replace("TheRealVe
|
||||
& 'C:\Program Files (x86)\Inno Setup 6\ISCC.exe' "D:\windows_arm64.iss"
|
||||
|
||||
Copy-Item "D:\installer_windows_inno_x64.exe" ".\installer_windows_inno_x64.exe"
|
||||
Copy-Item "D:\installer_windows_inno_arm64.exe" ".\installer_windows_inno_arm64.exe"
|
||||
Copy-Item "D:\installer_windows_inno_arm64.exe" ".\installer_windows_inno_arm64.exe"
|
||||
Copy-Item "./v2raya-x86_64-windows/bin/v2raya.exe" "./v2raya_windows_x64_$VERSION.exe"
|
||||
Copy-Item "./v2raya-arm64-windows/bin/v2raya.exe" "./v2raya_windows_arm64_$VERSION.exe"
|
||||
Reference in new issue
Block a user