mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-22 21:21:35 +01:00
rename to VER_INFO
This commit is contained in:
parent
bce1ad6f6b
commit
a7d8de0bd2
@ -21,7 +21,7 @@ install:
|
|||||||
$env:PACKAGE_VERSION = (Get-Content -Raw -Path .\package.json | ConvertFrom-Json).version
|
$env:PACKAGE_VERSION = (Get-Content -Raw -Path .\package.json | ConvertFrom-Json).version
|
||||||
$env:PATH = "C:\Program Files (x86)\Resource Hacker;${env:PATH}"
|
$env:PATH = "C:\Program Files (x86)\Resource Hacker;${env:PATH}"
|
||||||
if(Test-Path -Path $env:WIN_PKG) {
|
if(Test-Path -Path $env:WIN_PKG) {
|
||||||
$env:V_INFO = "true"
|
$env:VER_INFO = "true"
|
||||||
}
|
}
|
||||||
- ps: choco install reshack --no-progress
|
- ps: choco install reshack --no-progress
|
||||||
- ps: choco install cloc --no-progress
|
- ps: choco install cloc --no-progress
|
||||||
@ -35,9 +35,9 @@ before_build:
|
|||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- cmd: |
|
- cmd: |
|
||||||
if defined V_INFO ResourceHacker -open %WIN_PKG% -save %WIN_PKG% -action delete -mask ICONGROUP,1,
|
if defined VER_INFO ResourceHacker -open %WIN_PKG% -save %WIN_PKG% -action delete -mask ICONGROUP,1,
|
||||||
if defined V_INFO ResourceHacker -open version-info.rc -save version-info.res -action compile
|
if defined VER_INFO ResourceHacker -open version-info.rc -save version-info.res -action compile
|
||||||
if defined V_INFO ResourceHacker -open %WIN_PKG% -save %WIN_PKG% -action addoverwrite -resource version-info.res
|
if defined VER_INFO ResourceHacker -open %WIN_PKG% -save %WIN_PKG% -action addoverwrite -resource version-info.res
|
||||||
- cmd: npm install
|
- cmd: npm install
|
||||||
- cmd: npm run dist
|
- cmd: npm run dist
|
||||||
- cmd: 7z a ./dist/bw-windows-%PACKAGE_VERSION%.zip ./dist/windows/bw.exe
|
- cmd: 7z a ./dist/bw-windows-%PACKAGE_VERSION%.zip ./dist/windows/bw.exe
|
||||||
|
Loading…
Reference in New Issue
Block a user