mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 00:03:56 +00:00
artifacts and stuff
This commit is contained in:
5
.github/scripts/load-version.ps1
vendored
Normal file
5
.github/scripts/load-version.ps1
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
$rootPath = $env:GITHUB_WORKSPACE;
|
||||
$packageVersion = (Get-Content -Raw -Path $rootPath\src\package.json | ConvertFrom-Json).version;
|
||||
|
||||
Write-Output "Setting package version to $packageVersion";
|
||||
Write-Output "::set-env name=PACKAGE_VERSION::$packageVersion";
|
||||
8
.github/scripts/macos/clean-safari.ps1
vendored
8
.github/scripts/macos/clean-safari.ps1
vendored
@@ -1,8 +0,0 @@
|
||||
$rootPath = $env:GITHUB_WORKSPACE;
|
||||
$distDir = $rootPath + "\dist";
|
||||
$distSafariDir = $distDir + "\safari";
|
||||
|
||||
if (Test-Path -Path $distSafariDir) {
|
||||
Remove-Item -Recurse -Force $distSafariDir
|
||||
}
|
||||
New-Item $distSafariDir -ItemType Directory -ea 0
|
||||
Reference in New Issue
Block a user