From eb0ccbcc3cfb92e8b7e7ab13e67ea8b45018bcec Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 19 Jan 2020 00:23:00 +0100 Subject: [PATCH] fix download url --- .drone.jsonnet | 4 ++-- .drone.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index e590cc3..73486e6 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -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', ], }, diff --git a/.drone.yml b/.drone.yml index 8ed0731..b9d7c43 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 ...