summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2021-03-27 08:29:01 -0400
committermorpheus65535 <[email protected]>2021-03-27 08:29:01 -0400
commiteb899187f723f258cf2a40843490e8100067ba4c (patch)
treebb1f5988e4344220923de7f3532d5939e295f032 /.github
parente56760bbac46c00e3e6c22c38516118f8b7fc9a1 (diff)
parentc83f47b2d02470da70ad42797a0f4aa1085ee20a (diff)
downloadbazarr-eb899187f723f258cf2a40843490e8100067ba4c.tar.gz
bazarr-eb899187f723f258cf2a40843490e8100067ba4c.zip
Merge branch 'development' of https://github.com/morpheus65535/bazarr into development
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release_beta_to_dev.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/release_beta_to_dev.yaml b/.github/workflows/release_beta_to_dev.yaml
index 800596b8a..2883f6d43 100644
--- a/.github/workflows/release_beta_to_dev.yaml
+++ b/.github/workflows/release_beta_to_dev.yaml
@@ -7,6 +7,7 @@ jobs:
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
UI_DIRECTORY: ./frontend
+ ASSET_DIRECTORY: ./__builds__
FETCH_DEPTH: 15 # Should be enough
steps:
- name: Validate branch
@@ -49,5 +50,11 @@ jobs:
run: npm run build && git add .
working-directory: ${{ env.UI_DIRECTORY }}
+ - name: Save UI to Asset
+ run: |
+ mkdir -p ../.${{ env.ASSET_DIRECTORY }} &&
+ zip -r ../.${{ env.ASSET_DIRECTORY }}/ui.zip ./ -x '*.map' -b $(mktemp -d)
+ working-directory: ${{ env.UI_DIRECTORY }}/build
+
- name: Create Release
run: release-it --ci --increment prerelease --preRelease=beta