mirror of
https://github.com/linuxserver/libretrojs.git
synced 2026-03-09 00:04:54 +08:00
update build logic and dont use file globbing
This commit is contained in:
parent
5d4fc1eee7
commit
f1f7bb2a65
3
.github/workflows/default.yml
vendored
3
.github/workflows/default.yml
vendored
@ -37,8 +37,7 @@ jobs:
|
||||
- name: Upload Assets
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
with:
|
||||
file: /buildout/*
|
||||
file_glob: true
|
||||
file: libretrojs.tar.gz
|
||||
overwrite: true
|
||||
prerelease: false
|
||||
release_name: ${{ env.GITHUB_TAG }}
|
||||
|
||||
@ -20,7 +20,7 @@ bluemsx"
|
||||
IFS=$'\n'
|
||||
|
||||
# Setup build dirs
|
||||
rootdir='/buildout/'
|
||||
rootdir=$(pwd)'/buildout/'
|
||||
mkdir -p ${rootdir}{data,js/vendor,retrotmp,emulatorjstmp}
|
||||
|
||||
## Grab frontend blobs
|
||||
@ -57,4 +57,8 @@ mv \
|
||||
${rootdir}/emulatorjstmp/frontend/js/vendor/jquery.hotkeys.js \
|
||||
${rootdir}/emulatorjstmp/frontend/js/vendor/jquery.min.js \
|
||||
${rootdir}/js/vendor/
|
||||
rm -Rf ${rootdir}/emulatorjstmp/
|
||||
rm -Rf ${rootdir}/emulatorjstmp/
|
||||
# Make tarball for release
|
||||
cd ${rootdir}
|
||||
tar -czf libretrojs.tar.gz *
|
||||
mv libretrojs.tar.gz ../
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user