Fix drone config

This commit is contained in:
kolaente 2020-05-09 21:42:29 +02:00
parent 8789135eed
commit f75c3ed4f7
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -38,7 +38,7 @@ steps:
commands: commands:
- yarn --frozen-lockfile - yarn --frozen-lockfile
- yarn run lint - 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 - 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 - 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: commands:
- yarn --frozen-lockfile - yarn --frozen-lockfile
- yarn run lint - 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 - 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 - sed -i 's/http\:\\/\\/localhost\\:3456\\/api\\/v1/\\/api\\/v1/g' dist/index.html # Override the default api url used for developing