chore: disable mac builds
This commit is contained in:
parent
78d61680d3
commit
0563fb2ee5
75
.drone.yml
75
.drone.yml
@ -191,45 +191,46 @@ steps:
|
|||||||
- tag
|
- tag
|
||||||
depends_on: [ build ]
|
depends_on: [ build ]
|
||||||
|
|
||||||
---
|
# Disabled until we have a working mac runner
|
||||||
kind: pipeline
|
#---
|
||||||
type: exec
|
#kind: pipeline
|
||||||
name: release-macos
|
#type: exec
|
||||||
|
#name: release-macos
|
||||||
trigger:
|
#
|
||||||
ref:
|
#trigger:
|
||||||
- refs/heads/main
|
# ref:
|
||||||
- "refs/tags/**"
|
# - refs/heads/main
|
||||||
|
# - "refs/tags/**"
|
||||||
platform:
|
#
|
||||||
os: darwin
|
#platform:
|
||||||
arch: amd64
|
# os: darwin
|
||||||
|
# arch: amd64
|
||||||
steps:
|
#
|
||||||
- name: build
|
#steps:
|
||||||
environment:
|
# - name: build
|
||||||
ACCESS_KEY:
|
# environment:
|
||||||
from_secret: aws_access_key_id
|
# ACCESS_KEY:
|
||||||
SECRET_KEY:
|
# from_secret: aws_access_key_id
|
||||||
from_secret: aws_secret_access_key
|
# SECRET_KEY:
|
||||||
commands:
|
# from_secret: aws_secret_access_key
|
||||||
- git fetch --tags
|
# commands:
|
||||||
- export VERSION=${DRONE_TAG##v}
|
# - git fetch --tags
|
||||||
- if [ -z "$$VERSION" ]; then export VERSION=unstable; fi
|
# - export VERSION=${DRONE_TAG##v}
|
||||||
# TODO: Move to a yarn script
|
# - if [ -z "$$VERSION" ]; then export VERSION=unstable; fi
|
||||||
- wget https://dl.vikunja.io/frontend/vikunja-frontend-$$VERSION.zip
|
# # TODO: Move to a yarn script
|
||||||
- unzip vikunja-frontend-$$VERSION.zip -d frontend
|
# - wget https://dl.vikunja.io/frontend/vikunja-frontend-$$VERSION.zip
|
||||||
- sed -i '' 's/\\/api\\/v1//g' frontend/index.html
|
# - unzip vikunja-frontend-$$VERSION.zip -d frontend
|
||||||
# Make sure that the -unstable suffix is added to release files
|
# - sed -i '' 's/\\/api\\/v1//g' frontend/index.html
|
||||||
- sed -i '' "s/\$${version}/$$VERSION/g" package.json
|
# # Make sure that the -unstable suffix is added to release files
|
||||||
- yarn install
|
# - sed -i '' "s/\$${version}/$$VERSION/g" package.json
|
||||||
- yarn dist --mac
|
# - yarn install
|
||||||
- mc config host add scw-fr-par https://s3.fr-par.scw.cloud $ACCESS_KEY $SECRET_KEY --api S3v4
|
# - yarn dist --mac
|
||||||
- mc cp ./dist/*.dmg scw-fr-par/vikunja-releases/desktop/$VERSION/
|
# - mc config host add scw-fr-par https://s3.fr-par.scw.cloud $ACCESS_KEY $SECRET_KEY --api S3v4
|
||||||
- mc cp ./dist/*.dmg.blockmap scw-fr-par/vikunja-releases/desktop/$VERSION/
|
# - mc cp ./dist/*.dmg scw-fr-par/vikunja-releases/desktop/$VERSION/
|
||||||
|
# - mc cp ./dist/*.dmg.blockmap scw-fr-par/vikunja-releases/desktop/$VERSION/
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 9edbcd403606bf65619cc1bb6938eb78049423df0500b118aad5d5e14f5a1bac
|
hmac: f5aa08e285044e34b02b197a309bb8682b8cc9adf630dabaa18cc09cc6b50cf6
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user