From 9a0da1003e592728291a6849b62a35f2ec52345c Mon Sep 17 00:00:00 2001 From: kolaente Date: Sat, 17 Oct 2020 20:04:26 +0200 Subject: [PATCH] Don't replace everything when releasing --- .drone.yml | 6 +----- package.json | 1 - readme.md | 8 +------- 3 files changed, 2 insertions(+), 13 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7ff5af1..63f49a7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 diff --git a/package.json b/package.json index 5d9dc33..9341ef9 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/readme.md b/readme.md index 2e3a9ea..cf2866b 100644 --- a/readme.md +++ b/readme.md @@ -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