Don't replace everything when releasing
This commit is contained in:
parent
0999f9ae9b
commit
9a0da1003e
@ -20,11 +20,7 @@ steps:
|
||||
# TODO: Move to a yarn script
|
||||
- wget https://dl.vikunja.io/frontend/vikunja-frontend-master.zip
|
||||
- unzip vikunja-frontend-master.zip -d frontend
|
||||
- sed -i 's/\\/fonts/file\:\\/\\/fonts/g' frontend/index.html
|
||||
- sed -i 's/\\/js/file\:\\/\\/js/g' frontend/index.html
|
||||
- sed -i 's/\\/css/file\:\\/\\/css/g' frontend/index.html
|
||||
- sed -i 's/\\/images/file\:\\/\\/images/g' frontend/index.html
|
||||
- sed -i "s/\\/'images/'file\:\\/\\/images/g" frontend/js/*
|
||||
- sed -i 's/\/api\/v1//g' frontend/index.html
|
||||
- yarn install
|
||||
- export BUILD_NUMBER=master
|
||||
- yarn dist --linux --windows
|
||||
|
@ -1,6 +1,5 @@
|
||||
{
|
||||
"name": "vikunja-desktop",
|
||||
"version": "0.14.0",
|
||||
"description": "Vikunja's frontend as a standalone desktop application.",
|
||||
"main": "main.js",
|
||||
"repository": "https://code.vikunja.io/desktop",
|
||||
|
@ -13,13 +13,7 @@ actual frontend bundle and build the app:
|
||||
rm -rf frontend vikunja-frontend-master.zip
|
||||
wget https://dl.vikunja.io/frontend/vikunja-frontend-master.zip
|
||||
unzip vikunja-frontend-master.zip -d frontend
|
||||
sed -i 's/\/fonts/.\/fonts/g' frontend/index.html
|
||||
sed -i 's/\/js/.\/js/g' frontend/index.html
|
||||
sed -i 's/\/css/.\/css/g' frontend/index.html
|
||||
sed -i 's/\/images/.\/images/g' frontend/index.html
|
||||
sed -i 's/\/images/.\/images/g' frontend/js/*
|
||||
sed -i 's/\/css/.\/css/g' frontend/js/*
|
||||
sed -i 's/\/js/.\/js/g' frontend/js/*
|
||||
sed -i 's/\/api\/v1//g' frontend/index.html # Make sure to trigger the "enter the Vikunja url" prompt
|
||||
```
|
||||
|
||||
## Building for release
|
||||
|
Loading…
x
Reference in New Issue
Block a user