fix CI build #2

feat/vaults
Tomáš Mládek 2021-12-02 22:37:51 +01:00
parent 8dcc474f1c
commit b27fcecb78
2 changed files with 6 additions and 6 deletions

View File

@ -24,10 +24,10 @@ lint:backend:
- make backend_lint
rules:
- changes:
- migrations/**/*
- src/**/*
- Cargo.lock
- Makefile
- migrations/**/*
- src/**/*
- Cargo.lock
- Makefile
allow_failure: true
#lint:frontend:
@ -63,7 +63,7 @@ build:frontend:
- make frontend
artifacts:
paths:
- ui/dist
- ui/public
expire_in: 1 day
only:
changes:

View File

@ -4,7 +4,7 @@ package: target/release/upend ui/dist/index.html
rm -fr dist
linuxdeploy-x86_64.AppImage --appdir dist
cp target/release/upend dist/usr/bin/upend
cp -r ui/dist dist/usr/bin/webui
cp -r ui/public dist/usr/bin/webui
cp upend.png dist/usr/share/icons/upend.png
VERSION="$$(grep '^version' Cargo.toml|grep -Eo '[0-9]+\.[0-9]+\.[0-9]+')" \
linuxdeploy-x86_64.AppImage --appdir dist -d upend.desktop --output appimage