mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-27 12:36:14 +01:00
ci script for package source for dist
This commit is contained in:
parent
72cb2772a6
commit
5b83a0ea0a
9
ci-dist-source.ps1
Normal file
9
ci-dist-source.ps1
Normal file
@ -0,0 +1,9 @@
|
||||
$distDir = $env:APPVEYOR_BUILD_FOLDER + "\dist\"
|
||||
$distSrcDir = $distDir + "Source\"
|
||||
git clone https://github.com/ + $env:APPVEYOR_REPO_NAME + ".git" $distSrcDir
|
||||
cd $distSrcDir
|
||||
git checkout $env:APPVEYOR_REPO_COMMIT
|
||||
git submodule update --init --recursive
|
||||
cd $distSrcDir
|
||||
7z a browser-source-$env:APPVEYOR_BUILD_NUMBER.zip $distSrcDir
|
||||
cd $env:APPVEYOR_BUILD_FOLDER
|
Loading…
Reference in New Issue
Block a user