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 - make backend_lint
rules: rules:
- changes: - changes:
- migrations/**/* - migrations/**/*
- src/**/* - src/**/*
- Cargo.lock - Cargo.lock
- Makefile - Makefile
allow_failure: true allow_failure: true
#lint:frontend: #lint:frontend:
@ -63,7 +63,7 @@ build:frontend:
- make frontend - make frontend
artifacts: artifacts:
paths: paths:
- ui/dist - ui/public
expire_in: 1 day expire_in: 1 day
only: only:
changes: changes:

View File

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