fix(release): put frontend files at the root of frontend.zip
The release job zipped ./client/dist, so every archive entry carried a client/dist/ prefix and an unzip dropped the app into a client/dist subfolder. Zip from inside dist instead, so index.html, assets and the bundled viya.json sit at the root of the archive. Closes #147
This commit is contained in:
@@ -302,8 +302,10 @@ jobs:
|
||||
run: |
|
||||
cd sas
|
||||
cp sasjsbuild/viya.json ../client/dist/viya.json
|
||||
cd ..
|
||||
zip -r frontend.zip ./client/dist
|
||||
# Zip from *inside* dist so the archive holds the frontend files at its
|
||||
# root rather than under a client/dist/ prefix (see #147).
|
||||
cd ../client/dist
|
||||
zip -r ../../frontend.zip .
|
||||
|
||||
- name: Release Typedoc
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user