mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
fix pkg building
This commit is contained in:
parent
3d185a5178
commit
263ac299d0
@ -1,5 +1,12 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
if [[ $# -eq 0 ]] ; then
|
||||||
|
echo "Missing argument of new version"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
VERSION=$1
|
||||||
|
|
||||||
PKG_DIR=dist/trilium-linux-x64-server
|
PKG_DIR=dist/trilium-linux-x64-server
|
||||||
|
|
||||||
mkdir $PKG_DIR
|
mkdir $PKG_DIR
|
||||||
@ -13,4 +20,4 @@ cp node_modules/scrypt/build/Release/scrypt.node ${PKG_DIR}/
|
|||||||
|
|
||||||
cd dist
|
cd dist
|
||||||
|
|
||||||
7z a trilium-linux-x64-server.7z trilium-linux-x64-server
|
7z a trilium-linux-x64-${VERSION}-server.7z trilium-linux-x64-server
|
@ -78,7 +78,7 @@ github-release upload \
|
|||||||
|
|
||||||
echo "Packaging server version"
|
echo "Packaging server version"
|
||||||
|
|
||||||
npm run build-pkg
|
bin/build-pkg.sh $VERSION
|
||||||
|
|
||||||
github-release upload \
|
github-release upload \
|
||||||
--tag $TAG \
|
--tag $TAG \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user