1
0
mirror of https://github.com/nitnelave/lldap.git synced 2023-04-12 14:25:13 +00:00

fix: make sure app folder is created

This commit is contained in:
Michał Mrozek 2022-11-23 19:30:02 +01:00
parent 4d78035e78
commit 7bf6b63721
No known key found for this signature in database
GPG Key ID: 91FD36F93B3386F0

View File

@ -14,14 +14,14 @@ cross build --target=armv7-unknown-linux-musleabihf -p lldap --release
VERSION=$(git describe --tags)
mkdir -p /tmp/release/x86_64
mkdir -p /tmp/release/x86_64/app
cp target/release/lldap /tmp/release/x86_64
cp -R app/index.html app/main.js app/pkg app/static /tmp/release/x86_64/app
cp -R lldap_config.docker_template.toml README.md LICENSE /tmp/release/x86_64
cp -R app/index.html app/main.js app/pkg app/static /tmp/release/x86_64/app/
tar -czvf lldap-x86_64-${VERSION}.tar.gz /tmp/release/x86_64
mkdir -p /tmp/release/armv7
mkdir -p /tmp/release/armv7/app
cp target/armv7-unknown-linux-musleabihf/release/lldap /tmp/release/armv7
cp -R app/index.html app/main.js app/pkg app/static /tmp/release/armv7/app
cp -R lldap_config.docker_template.toml README.md LICENSE /tmp/release/armv7
cp -R app/index.html app/main.js app/pkg app/static /tmp/release/armv7/app/
tar -czvf lldap-armv7-${VERSION}.tar.gz /tmp/release/armv7