mirror of
https://gitlab.com/Bockiii/deemix-docker.git
synced 2024-08-30 17:32:18 +00:00
Switch from latest repo commit to latest release
This commit is contained in:
parent
45a63d2b9f
commit
7a3c4995bd
@ -43,10 +43,12 @@ build-deemix:
|
||||
curl --request DELETE --header "PRIVATE-TOKEN: ${PAT_TOKEN}" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/${DEEMIX_VERSION_ID}"
|
||||
|
||||
script:
|
||||
- git clone --depth=1 https://gitlab.com/RemixDev/deemix-gui.git --recursive src
|
||||
- git clone https://gitlab.com/RemixDev/deemix-gui.git --recursive src
|
||||
# Patching pkg.targets to our need
|
||||
- jq '.pkg.targets = ["node16-linuxstatic-x64","node16-linuxstatic-arm64","node16-linuxstatic-armv7"]' src/server/package.json > tmp.$$.json && mv tmp.$$.json src/server/package.json
|
||||
- cd src
|
||||
- export DEEMIX_BUILD_SHA=$(curl https://deemix.app/gui/latest | rev | cut -c1-10 | rev)
|
||||
- git reset --hard --recurse-submodules $DEEMIX_BUILD_SHA
|
||||
- jq '.pkg.targets = ["node16-linuxstatic-x64","node16-linuxstatic-arm64","node16-linuxstatic-armv7"]' src/server/package.json > tmp.$$.json && mv tmp.$$.json src/server/package.json
|
||||
- ls -alh
|
||||
- yarn config set network-timeout 1000000 -g
|
||||
- yarn add pkg@latest
|
||||
|
Loading…
Reference in New Issue
Block a user