1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 00:03:56 +00:00

artifacts and stuff

This commit is contained in:
Kyle Spearrin
2020-09-24 12:17:41 -04:00
parent 696856a3c9
commit 30e898b697
4 changed files with 89 additions and 49 deletions

5
.github/scripts/load-version.ps1 vendored Normal file
View 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";

View File

@@ -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