fix download url
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Robert Kaussow 2020-01-19 00:23:00 +01:00
parent f2f60dec9a
commit eb0ccbcc3c
2 changed files with 5 additions and 5 deletions

View File

@ -17,10 +17,10 @@ local PipelineBuild(arch='amd64') = {
'TZ': 'UTC',
},
commands: [
'[ -z "${DRONE_TAG}" ] && LDAP_VERSION=master || LDAP_VERSION=${DRONE_TAG%-*}',
'[ -z "${DRONE_TAG}" ] && LDAP_VERSION=master || LDAP_VERSION=v${DRONE_TAG%-*}',
'mkdir -p source/',
'rustup set profile minimal',
'curl -sSL https://github.com/ViViDboarder/bitwarden_rs_ldap/archive/v$LDAP_VERSION.tar.gz | tar xz -C source/ --strip-components=1',
'curl -sSL https://github.com/ViViDboarder/bitwarden_rs_ldap/archive/$LDAP_VERSION.tar.gz | tar xz -C source/ --strip-components=1',
'cd source/ && cargo build -j 8 --release',
],
},

View File

@ -10,10 +10,10 @@ steps:
- name: binary
image: clux/muslrust:nightly-2019-12-19
commands:
- "[ -z \"${DRONE_TAG}\" ] && LDAP_VERSION=master || LDAP_VERSION=${DRONE_TAG%-*}"
- "[ -z \"${DRONE_TAG}\" ] && LDAP_VERSION=master || LDAP_VERSION=v${DRONE_TAG%-*}"
- mkdir -p source/
- rustup set profile minimal
- curl -sSL https://github.com/ViViDboarder/bitwarden_rs_ldap/archive/v$LDAP_VERSION.tar.gz | tar xz -C source/ --strip-components=1
- curl -sSL https://github.com/ViViDboarder/bitwarden_rs_ldap/archive/$LDAP_VERSION.tar.gz | tar xz -C source/ --strip-components=1
- cd source/ && cargo build -j 8 --release
environment:
DB: postgresql
@ -130,6 +130,6 @@ depends_on:
---
kind: signature
hmac: f5d4a7e677b3a3c586884e3abdf9a97a71be88fdeec3b8f2550c5ca902ba9b49
hmac: 7da99dc8ade2501f8b66e1643bf31cf9c74400a9f02f743b8ecfb74521fb02d9
...