Fix sed for macos
continuous-integration/drone/push Build is failing Details

This commit is contained in:
kolaente 2021-06-17 09:51:40 +02:00
parent 210bf77f07
commit 06824a339e
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 3 additions and 2 deletions

View File

@ -1,3 +1,4 @@
---
kind: pipeline kind: pipeline
type: docker type: docker
name: release name: release
@ -140,9 +141,9 @@ steps:
# TODO: Move to a yarn script # TODO: Move to a yarn script
- wget https://dl.vikunja.io/frontend/vikunja-frontend-$$VERSION.zip - wget https://dl.vikunja.io/frontend/vikunja-frontend-$$VERSION.zip
- unzip vikunja-frontend-$$VERSION.zip -d frontend - unzip vikunja-frontend-$$VERSION.zip -d frontend
- sed -i 's/\\/api\\/v1//g' frontend/index.html - sed -i '' 's/\\/api\\/v1//g' frontend/index.html
# Make sure that the -unstable suffix is added to release files # Make sure that the -unstable suffix is added to release files
- sed -i "s/\$${version}/$$VERSION/g" package.json - sed -i '' "s/\$${version}/$$VERSION/g" package.json
- yarn install - yarn install
- yarn dist --mac - yarn dist --mac
- brew install minio/stable/mc - brew install minio/stable/mc