mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-15 14:56:42 +00:00
Other: grab version number from top-level Makefile.
Other: PowerShell script uses $MyInvocation.MyCommand.Path instead of $PSScriptRoot
This commit is contained in:
2
utils/bridge_app_version.ps1
Normal file
2
utils/bridge_app_version.ps1
Normal file
@ -0,0 +1,2 @@
|
||||
Select-String -Path (Join-Path $PSScriptRoot "../Makefile") -Pattern "^BRIDGE_APP_VERSION\?=(\S*)" |
|
||||
ForEach-Object {$_.Matches} | ForEach-Object { $_.Groups[1].Value }
|
||||
Reference in New Issue
Block a user