fix version tagging
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Robert Kaussow 2020-02-07 23:22:01 +01:00
parent 94e472ea47
commit ad4e983068
2 changed files with 3 additions and 5 deletions

View File

@ -21,8 +21,7 @@ local PipelineBuild(arch='amd64') = {
'mkdir -p source/',
'apt-get -qq update && apt-get install -yqq --no-install-recommends libpq-dev ',
'rustup set profile minimal',
'echo "$${BITWARDEN_VERSION%-*}".tar.gz',
'curl -sSL https://github.com/dani-garcia/bitwarden_rs/archive/"${BITWARDEN_VERSION%-*}".tar.gz | tar xz -C source/ --strip-components=1',
'curl -sSL https://github.com/dani-garcia/bitwarden_rs/archive/"$${BITWARDEN_VERSION%-*}".tar.gz | tar xz -C source/ --strip-components=1',
'cd source/ && cargo build -j 8 --features $DB --release',
],
},

View File

@ -14,8 +14,7 @@ steps:
- mkdir -p source/
- "apt-get -qq update && apt-get install -yqq --no-install-recommends libpq-dev "
- rustup set profile minimal
- echo "$${BITWARDEN_VERSION%-*}".tar.gz
- curl -sSL https://github.com/dani-garcia/bitwarden_rs/archive/"${BITWARDEN_VERSION%-*}".tar.gz | tar xz -C source/ --strip-components=1
- curl -sSL https://github.com/dani-garcia/bitwarden_rs/archive/"$${BITWARDEN_VERSION%-*}".tar.gz | tar xz -C source/ --strip-components=1
- cd source/ && cargo build -j 8 --features $DB --release
environment:
DB: postgresql
@ -130,6 +129,6 @@ depends_on:
---
kind: signature
hmac: 9c60152522a06e421ccaa870b57ea83849fc7a046d521b8765d885f321aac974
hmac: 9c42dee541c8421cf501a2f8e41ccf2b4e46c74584f8038f20b2211e03e9cc73
...