From f75c3ed4f744e11923dfc55a22ab1f5ceafea953 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sat, 9 May 2020 21:42:29 +0200 Subject: [PATCH] Fix drone config --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index c12106be2e..4738ad7f3e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -38,7 +38,7 @@ steps: commands: - yarn --frozen-lockfile - yarn run lint - - echo '{"VERSION": "'$(git describe --tags --always --abbrev=10 | sed 's/-/+/' | sed 's/^v//' | sed 's/-g/-/')'"}' > version.json + - "echo '{\"VERSION\": \"'$(git describe --tags --always --abbrev=10 | sed 's/-/+/' | sed 's/^v//' | sed 's/-g/-/')'\"}' > version.json" - yarn run build - sed -i 's/http\:\\/\\/localhost\\:3456\\/api\\/v1/\\/api\\/v1/g' dist/index.html # Override the default api url used for developing @@ -113,7 +113,7 @@ steps: commands: - yarn --frozen-lockfile - yarn run lint - - echo '{"VERSION": "'$(git describe --tags --always --abbrev=10 | sed 's/-/+/' | sed 's/^v//' | sed 's/-g/-/')'"}' > version.json + - "echo '{\"VERSION\": \"'$(git describe --tags --always --abbrev=10 | sed 's/-/+/' | sed 's/^v//' | sed 's/-g/-/')'\"}' > version.json" - yarn run build - sed -i 's/http\:\\/\\/localhost\\:3456\\/api\\/v1/\\/api\\/v1/g' dist/index.html # Override the default api url used for developing