Browse Source

remove quotes from string

pull/66/head
Atridad Lahiji 3 weeks ago
parent
commit
33c52576aa
  1. 4
      .drone.yml

4
.drone.yml

@ -47,7 +47,7 @@ steps:
commands:
- curl -L https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 > jq
- chmod +x ./jq
- LATEST_RELEASE_ID=$(curl -s https://git.atrilahiji.dev/api/v1/repos/atrilahiji/EleutheriaPay/releases | ./jq '.[0].name')
- LATEST_RELEASE_ID=$(curl -s https://git.atrilahiji.dev/api/v1/repos/atrilahiji/EleutheriaPay/releases | ./jq -r '.[0].name')
- rm -rf bin/darwin-amd64
- rm -rf bin/linux-amd64
- mv bin/darwin-amd64.tar.gz bin/$LATEST_RELEASE_ID-darwin-amd64.tar.gz
@ -62,6 +62,6 @@ steps:
from_secret: S3_SECRET
bucket: eleutheriapay
source: bin/**/*
target: /downloads/
target: /
path_style: true
endpoint: https://s3.atrilahiji.dev
Loading…
Cancel
Save