Files
proton-bridge/utils/bridge_app_version.ps1
Xavier Michelon 090aaf8ee3 Other: grab version number from top-level Makefile.
Other: PowerShell script uses $MyInvocation.MyCommand.Path instead of $PSScriptRoot
2022-09-01 13:31:10 +02:00

2 lines
176 B
PowerShell

Select-String -Path (Join-Path $PSScriptRoot "../Makefile") -Pattern "^BRIDGE_APP_VERSION\?=(\S*)" |
ForEach-Object {$_.Matches} | ForEach-Object { $_.Groups[1].Value }